Bug #14890 Updated: is_uploaded_file does not work correctly
| From: | fjperreault at yahoo dot com | Date: | Mon, 07 Jan 2002 16:46:36 +0000 |
| Subject: | Bug #14890 Updated: is_uploaded_file does not work correctly | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76196@lists.php.net to get a copy of this message | ||
ID: 14890
User updated by: fjperreault@yahoo.com
Reported By: fjperreault@yahoo.com
Status: Open
Bug Type: Feature/Change Request
Operating System: Unix/Linux
PHP Version: 4.1.1
New Comment:
Please ignore this request. There was an error in my logic.
--- Frank ---
Previous Comments:
------------------------------------------------------------------------
[2002-01-06 09:57:40] fjperreault@yahoo.com
This function can return a false positive if you set a MAX_FILE_SIZE
limit in the HTML form sending the file and then proceeed to send a file
bigger than this max. If a call is made to _is_uploaded_file to see if
the file made it to the server, the function will return TRUE even
though the file doesn't exist on the server and the filename is set to
"none". In this case, the function _is_uploaded_file should return
FALSE, not TRUE because it has not been uploaded.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14890&edit=1