|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17729 HTTP_POST_FILES contains 1 bogus entry
Submitted: 2002-06-12 10:46 UTC Modified: 2002-09-11 11:18 UTC
From: ivo at ibuildings dot nl Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 4.2.1 OS: Redhat Linux
Private report: No CVE-ID: None
 [2002-06-12 10:46 UTC] ivo at ibuildings dot nl
I have a form with an <input type="file"> element. 

If I use Internet Explorer 5.5 to save the form, but *don't* upload a file, there's still an entry in $HTTP_POST_VARS (with empty name, but with a valid mimetype (octet-stream)).

This entry should not be there. If I use Mozilla to do the same, it works ok, and $HTTP_POST_FILES is an empty array.

You would say this is a browser bug. However, with PHP 4.0.6, we didn't have this problem.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-12 10:47 UTC] ivo at ibuildings dot nl
Where I said 'HTTP_POST_VARS' in the bug report, I meant ofcourse 'HTTP_POST_FILES'.

 [2002-06-12 10:49 UTC]
Please try latest non-stable snapshot from as there were some fixes related to this..

 [2002-09-11 11:18 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 20:01:30 2024 UTC