Posted by monomaniac21 on 05/08/06 12:21
Hi all when using a very simple upload script that I know has worked in
the past i get this errror on a server:
Warning: move_uploaded_file(/home/folder/public_html/image/advert.jpg):
failed to open stream: Permission denied in
/home/folder/public_html/admin/edit.php on line 68
Warning: move_uploaded_file(): Unable to move '/tmp/phpNzNVd5' to
'/home/folder/public_html/image/advert.jpg' in
/home/pronta/public_html/admin/edit.php on line 68
Here is the function:
move_uploaded_file($file_upload_tmpname,
"/home/folder/public_html/image/$file_upload_filename");
Any ideas on what might cause this?
Navigation:
[Reply to this message]
|