#31317 [NEW]: Getting error code '6' on file upload which is undocumented.
| From: | mail at iaindooley dot com | Date: | Tue, 28 Dec 2004 08:00:35 +0000 |
| Subject: | #31317 [NEW]: Getting error code '6' on file upload which is undocumented. | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365615@lists.php.net to get a copy of this message | ||
From: mail at iaindooley dot com
Operating system: Linux? (not one of my servers)
PHP version: 4.3.8
PHP Bug Type: Documentation problem
Bug description: Getting error code '6' on file upload which is undocumented.
Description:
------------
hello, i'm uploading files through a form and things have been working
fine in the past, but recently i have begun to get the error code '6',
which is undocumented in the PHP manual.
Array
(
[name] => Brigitte-Normal.pfa /*small font file*/
[type] =>
[tmp_name] =>
[error] => 6
[size] => 0
)
Reproduce code:
---------------
the above output is being produced by this code:
die(print_r($file));
where $file is an element of the superglobal $_FILES obtained with:
foreach($_FILES as $label => $file)
{
/*... FILE HANDLING CODE ...*/
}
Expected result:
----------------
The expected result would obviously be one of the documented error codes
(0 - 4)
Actual result:
--------------
The actual result is an error code '6', which is undocumented.
--
Edit bug report at http://bugs.php.net/?id=31317&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31317&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31317&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31317&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31317&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31317&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31317&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31317&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31317&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31317&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31317&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31317&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31317&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31317&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31317&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31317&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31317&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31317&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31317&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31317&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31317&r=mysqlcfg