You are here: error uploading a script « PHP Programming Language « IT news, forums, messages
error uploading a script

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация