php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #148 $HTTP_POST_VARS when enctype is 'multipart/form-data'
Submitted: 1998-03-05 20:30 UTC Modified: 1998-03-28 14:03 UTC
From: tomo at arts dot box dot co dot jp Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Latest CVS OS: FreeBSD 2.2-stable
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tomo at arts dot box dot co dot jp
New email:
PHP Version: OS:

 

 [1998-03-05 20:30 UTC] tomo at arts dot box dot co dot jp
I use PHP enabled 'track_vars' option in php3.ini.
But arguments don't be appended to $HTTP_POST_VARS array
if enctype is 'multipart/form-data'.

<form method=post action=foo.php3>
<input type=hidden name=hello value=world>
<input type=submit>
</form>

in foo.php3:
echo "hello ",$HTTP_POST_VARS['hello'],"!\n";
echo "goodbye ",$hello,"!\n";

result:
hello world!
goodbye world!

it seems ok, but when:
<form method=post action=foo.php3 enctype="multipart/form-data">
....
</form>

result:
hello !
goodbye world!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-28 14:03 UTC] jim
This is fixed in the latest CVS.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 04:03:45 2023 UTC