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
[Back to original message]
|