|
Posted by Andy2500 on 11/15/07 14:28
Hi,
I'd like to upload an image to a folder, then I have 3
diffrents examples but all of them give an error
"failed to open stream: Permission denied", althrough the
C:\Inetpub\wwwroot is not protected.
Any suggestions would be helpful, thank you for your time.
example_1 :
Warning: file_put_contents(31_picture.gif) [function.file-put-contents]:
failed to open stream: Permission denied in C:\Inetpub\wwwroot\AS\index.php
on line 46
example_2 :
Warning: move_uploaded_file
(C:\Inetpub\wwwroot/1c0c4541273310f11decbc7575daf1d8.bin) [function.move-
uploaded-file]: failed to open stream: Permission denied in
C:\Inetpub\wwwroot\file_api.php on line 58
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'C:\WINNT\TEMP\php198.tmp' to
'C:\Inetpub\wwwroot/1c0c4541273310f11decbc7575daf1d8.bin' in
C:\Inetpub\wwwroot\file_api.php on line 58
example_3 :
Warning: move_uploaded_file(./web/student_img/5054.jpg) [function.move-
uploaded-file]: failed to open stream: No such file or directory in
C:\Inetpub\wwwroot\web\editaccount.php on line 175
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move
'C:\WINNT\TEMP\php19C.tmp' to './web/student_img/5054.jpg' in
C:\Inetpub\wwwroot\web\editaccount.php on line 175
Navigation:
[Reply to this message]
|