#31000 [Opn->Asn]: Error Values for File Uploads not documented
| From: | nlopess@php.net | Date: | Mon, 06 Dec 2004 17:26:59 +0000 |
| Subject: | #31000 [Opn->Asn]: Error Values for File Uploads not documented | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365371@lists.php.net to get a copy of this message | ||
ID: 31000
Updated by: nlopess@php.net
Reported By: matt at mooseit dot biz
-Status: Open
+Status: Assigned
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Thats not true. PHP 5 uses the same constant as PHP 4
(UPLOAD_ERR_NO_FILE), which has the value 4.
However UPLOAD_ERR_NO_TMP_DIR is missing in the docs. I'll document it.
Previous Comments:
------------------------------------------------------------------------
[2004-12-06 17:57:09] matt at mooseit dot biz
Description:
------------
When uploading an empty file using PHP 5, it sets the value of the
error to 5. The page in the manual that tells you what these error
values correspond to doesn't reference the value 5 at all
(http://php.net/manual/en/features.file-upload.errors.php). I expected
it to say 5, with the corresponding constant definition, and an
explanation of the error.
Cheers
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31000&edit=1