ID: 31317 User updated by: mail at iaindooley dot com Reported By: mail at iaindooley dot com -Status: Bogus +Status: Open Bug Type: Documentation problem Operating System: FreeBSD 4.10 PHP Version: 4.3.10 New Comment:
The solution to bug 31000 says that UPLOAD_ERR_NO_TMP_DIR was added to document on December 6th. I still can't see it in the docs, but nonetheless, bug 31000 is about error code number 5 in PHP5, not error code number 6 in PHP4. Previous Comments: ------------------------------------------------------------------------ [2004-12-28 09:13:55] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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