php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14890 is_uploaded_file does not work correctly
Submitted: 2002-01-06 09:57 UTC Modified: 2002-01-07 11:49 UTC
From: fjperreault at yahoo dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.1.1 OS: Unix/Linux
Private report: No CVE-ID: None
 [2002-01-06 09:57 UTC] fjperreault at yahoo dot 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.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-07 11:46 UTC] fjperreault at yahoo dot com
Please ignore this request.  There was an error in my logic.

--- Frank ---
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Aug 27 23:01:27 2024 UTC