ID: 31000 Updated by: [EMAIL PROTECTED] 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