#31317 [Opn]: Getting error code '6' on file upload which is undocumented.

From: Date: Tue, 28 Dec 2004 08:08:37 +0000
Subject: #31317 [Opn]: Getting error code '6' on file upload which is undocumented.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365616@lists.php.net to get a copy of this message
ID: 31317 User updated by: mail at iaindooley dot com Reported By: mail at iaindooley dot com Status: Open Bug Type: Documentation problem -Operating System: Linux? (not one of my servers) +Operating System: FreeBSD 4.10 -PHP Version: 4.3.8 +PHP Version: 4.3.10 New Comment: Just updating the version and OS information. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969365616) next »