ID: 31317 Updated by: [EMAIL PROTECTED] Reported By: mail at iaindooley dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: FreeBSD 4.10 PHP Version: 4.3.10 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Same as 31000. Previous Comments: ------------------------------------------------------------------------ [2004-12-28 09:08:36] mail at iaindooley dot com Just updating the version and OS information. ------------------------------------------------------------------------ [2004-12-28 09:00:33] mail at iaindooley dot com 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 this bug report at http://bugs.php.net/?id=31317&edit=1