Bug #14890: is_uploaded_file does not work correctly
| From: | fjperreault at yahoo dot com | Date: | Sun, 06 Jan 2002 14:57:41 +0000 |
| Subject: | Bug #14890: is_uploaded_file does not work correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-76051@lists.php.net to get a copy of this message | ||
From: fjperreault@yahoo.com
Operating system: Unix/Linux
PHP version: 4.1.1
PHP Bug Type: Feature/Change Request
Bug description: is_uploaded_file does not work correctly
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 bug report at: http://bugs.php.net/?id=14890&edit=1