Re: $_FILE[user][error] = 6 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux