Re: $_FILE[user][error] = 6 ?
| From: | Curt Zirzow | Date: | Tue, 28 Dec 2004 22:06:28 +0000 |
| Subject: | Re: $_FILE[user][error] = 6 ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205325@lists.php.net to get a copy of this message | ||
* Thus wrote Al:
> What is a $_FILE[user][error]=> 6
>
> I can't find Error level 6 in the manual or on Google.
>
> Here is my files array:
>
> [userfile] => Array
> (
> [name] => Readme.txt
> [type] =>
> [tmp_name] =>
> [error] => 6
> [size] => 0
> )
>
> Doesn't make sense. Readme.txt is simply a small text file on my local HD.
6 == Missing /tmp or similar directory.
Which means that your php.ini's upload_tmp_dir isn't set properly.
Curt
--
Quoth the Raven, "Nevermore."