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

From: Date: Fri, 31 Dec 2004 01:25:23 +0000
Subject: Re: $_FILE[user][error] = 6 ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-205401@lists.php.net to get a copy of this message
You nailed it Curt. Virtual Host "Powweb" removed the system default tmp directory without telling anyone. All file uploading services were broken. I fixed the problem in php.ini Thanks everyone. Curt Zirzow wrote:
* 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


« previous php.general (#205401) next »