php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31387 upload error 5 is undocumented
Submitted: 2005-01-03 13:10 UTC Modified: 2005-01-03 13:26 UTC
From: cristic at interaktonline dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.3 OS: Windows XP Home Edition
Private report: No CVE-ID: None
 [2005-01-03 13:10 UTC] cristic at interaktonline dot com
Description:
------------
The 5 should be documented too so we won't have to dig into the sources to see what's happening

5 - ...
     Appears when the uploaded file size is 0 and should be different then 0 (the sources also should be compiled with the DEBUG_FILE_UPLOAD)

6 - UPLOAD_ERR_NO_TMP_DIR

     Appears when the temporary file cannot be created (and not when the temporary folder don't exists as the name suggest)

   (I added the 6 even if I know its a know bug #31317 because the folder don't exists and temporary file cannot be created are different things and the documentation should be accurate)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-03 13:26 UTC] derick@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 15:00:02 2025 UTC