Bug #14890 Updated: is_uploaded_file does not work correctly

From: Date: Mon, 07 Jan 2002 16:49:38 +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-76197@lists.php.net to get a copy of this message
ID: 14890 Updated by: zak Reported By: fjperreault@yahoo.com Old Status: Open Status: Bogus Bug Type: Feature/Change Request Operating System: Unix/Linux PHP Version: 4.1.1 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

« previous php.dev (#76197) next »