move_uploaded_file - Permission denied
| From: | Henning Tillmann | Date: | Thu, 19 Aug 2004 12:01:22 +0000 |
| Subject: | move_uploaded_file - Permission denied | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24435@lists.php.net to get a copy of this message | ||
Hello,
I had created a website some weeks ago on my Windows XP Professional
computer using IIS and PHP4 before I did format c: and reinstalled XP and
IIS. Now I'm using PHP5 and move_uploaded_file does not work.
I don't why, because the specific folder has read and write access. But I
always get the following Warning:
Warning: move_uploaded_file(full/1.jpg) [function.move-uploaded-file]:
failed to open stream: Permission denied in
c:\Inetpub\wwwroot\file-upload.inc on line 76
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'C:\inetpub\php\uploadtemp\php1BD.tmp' to 'full/1.jpg' in
c:\Inetpub\wwwroot\file-upload.inc on line 76
The paths are correct because otherwise the message would be "No such file
or directory".
Here are some more bits of information:
Directory to upload: C:\inetpub\wwwroot\bilder\full ( READ +
WRITE access set through ISS console)
PHP-Temp-Upload: C:\inetpub\php\uploadtemp
Can anyone help me?
Thanks in advance,
Henning