Forum Moderators: coopster

Message Too Old, No Replies

Uploading Permissions...

         

SNOWmanx

1:04 am on Jul 4, 2005 (gmt 0)

10+ Year Member



When I try to upload a file through the browser, it has this error:

Warning: move_uploaded_file(/home/snoman/public_html/pytoys/images/figures/cry.gif): failed to open stream: Permission denied in /home/snoman/public_html/pytoys/upload.php on line 11

can anyone help me solve this problem?

maxi million

4:21 am on Jul 4, 2005 (gmt 0)

10+ Year Member



check if the directory you are uploading to has the upload permission or not else chmod it 777

jatar_k

4:47 pm on Jul 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld SNOWmanx,

I am not sure that 777 which means read/write/execute for everyone is the way to go but it is like ly that the permissions need to be updated.

Did you check if the file got uploaded correctly? It could be the upload itself or the destination folder you are moving it to, or both.

SNOWmanx

5:39 am on Jul 5, 2005 (gmt 0)

10+ Year Member



Thanks! It worked!