You are here: Re: file upload not saving file « PHP Programming Language « IT news, forums, messages
Re: file upload not saving file

Posted by zorro on 12/18/20 11:49

yup, it was a path thing during move_uploaded_file...

I had this:

@move_uploaded_file($_FILES['picture']['tmp_name'],
$_SERVER["DOCUMENT_ROOT"] . APP_PATH . "pictures/" . $newname);

then removing $_SERVER["DOCUMENT_ROOT"] . APP_PATH got it working

 

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

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