Page 1 of 1

move_uploaded_file & Permission denied

Posted: Thu Aug 07, 2008 7:04 am
by prophecyx
Sorry for my ful questionn.........
This is the problem that i ve tried to solve so long TT
I uploade image file to the directory in server
first..........I ve uploaded in my Apache localhost server--->> It Okay no problem
last..........I ve uploaded in 000webhost and i saw this error

Code: Select all

Warning: move_uploaded_file(student/Haruhi01.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/a6361913/public_html/upload_file.php on line 177
I assume that "the server need some authenticat"
thank you for you help.................pleazzzzzzzzzzzzzzzzzz

Re: move_uploaded_file & Permission denied

Posted: Thu Aug 07, 2008 7:24 am
by filippo.toso
Verify that the privileges of the destination folder where you want to move the uploaded file are correct (i.e. 777 or 755).