|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14758 $HTTP_GET_VARS Improper NAME scrambling
Submitted: 2001-12-29 22:34 UTC Modified: 2001-12-29 22:54 UTC
From: chris at chrisderose dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.6 OS: Linux 2.4 (Mandrake 6.1)
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: chris at chrisderose dot com
New email:
PHP Version: OS:


 [2001-12-29 22:34 UTC] chris at chrisderose dot com
<?	 if (!sizeof($HTTP_GET_VARS) ) { ?>
<INPUT TYPE="TEXT" NAME="Test Input" VALUE="doh!">
<?} else { ?>
This won't work (it should):<?=$HTTP_GET_VARS['Test Input']?><BR>
This will:<?=$HTTP_GET_VARS['Test_Input']?><BR>
<? } ?>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-29 22:54 UTC]
Since spaces aren't allowed in variable names (obviously) they're converted to underscores. Bo bug -> bogus.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 22:01:24 2023 UTC