|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18415 $_POST and $HTTP_POST_VARS are not exported
Submitted: 2002-07-18 14:09 UTC Modified: 2002-07-18 14:28 UTC
From: ilia at prohost dot org Assigned:
Status: Closed Package: *Web Server problem
PHP Version: 4.2.1 OS: Linux 2.4.17
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ilia at prohost dot org
New email:
PHP Version: OS:


 [2002-07-18 14:09 UTC] ilia at prohost dot org
When 'file_upload' setting in php.ini set to Off, then any form submited via POST with 'enctype="multipart/form-data"' in its defenition will not export $_POST and $HTTP_POST_VARS on submission.
Below is an example script that demonstrates the problem.
echo '<pre>';
echo '</pre>'; ?>
<html><form method="post" action="test.php" enctype="multipart/form-data"><input type="submit" name="test" value="Click Me"></form>

Script Output
-- file_upload == On --
    [test] => Click Me
-- file_upload == Off --


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-18 14:28 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 09:01:28 2024 UTC