I'm with IIS. I am handling form upload using PHP.
After upload, the following line gives me Permission denied.
$movesuccess = move_uploaded_file($_FILES['myfile']['tmp_name'],"a.zip"); // LINE 1
I have tried with PEAR... same:
$movesuccess = $taskfileobj->moveTo("./"); // LINE 2
This will give me an error saying Impossible to move file...
I have set the permissions in my IIS to allow Write already.. i don't know why.
For "LINE 1", I have presumed the directory for a.zip is the current directory -- which is the directory where i am running the script. Am I correct?