You are here: Re: [PHP] file upload error « PHP « IT news, forums, messages
Re: [PHP] file upload error

Posted by Marek Kilimajer on 02/01/05 00:41

Tom wrote:
> Hi
>
> I have a very simple file upload form and script to handle it (copied
> verbatim from the php manual, except for the file target location and
> the script name).
> However, it always fails, with an error code in the _FILE array or 6.
> Does anyone know what this error is or what I am likely to have set
> wrong? All that I can find in the docs are errors from 0 to 4 :-(

It's there:
http://sk.php.net/manual/en/features.file-upload.errors.php

UPLOAD_ERR_NO_TMP_DIR

Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and
PHP 5.0.3.

Note: These became PHP constants in PHP 4.3.0.


Set the correct upload_tmp_dir in php.ini and restart webserver

 

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

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