Question--How to handle security issue when uploading file
| From: | Xiaozhi Liu | Date: | Tue, 08 Nov 2005 01:41:48 +0000 |
| Subject: | Question--How to handle security issue when uploading file | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26470@lists.php.net to get a copy of this message | ||
Hi All,
I have a question on uploading file. My environment is Windows XP with SP2,
IIS5.1, PHP5.0.4. I am trying to upload files. But there are always this
error messamges:
Warning: move_uploaded_file(license.txt) [function.move-uploaded-file]:
failed to open stream: Permission denied in
C:\Inetpub\wwwroot\mainwebsite\upload.php on line 18
And
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'c:\temp\php84.tmp' to 'license.txt' in
C:\Inetpub\wwwroot\mainwebsite\upload.php on line 18
I also search website to seek answer, but seems doesn't work now.Please help
me!!! Thanks a lot in advance.
Regards,
Joyce