php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13759 Commandline: querystring parser buggy
Submitted: 2001-10-19 11:08 UTC Modified: 2001-10-19 11:11 UTC
From: rl at e-dict dot net Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rl at e-dict dot net
New email:
PHP Version: OS:

 

 [2001-10-19 11:08 UTC] rl at e-dict dot net
executable script /tmp/bug:
>>>
# ! /usr/local/bin/php -f
<?php 
print "V1 = $V1n";
print "V2 = $V2n";
var_dump($HTTP_GET_VARS);
?>
<<<

command:
$  /tmp/bug "V1=val1&V2=val2"

output:
>>>
V1 = 
V2 = val2
array(2) {
  ["/tmp/bug_V1"]=>
  string(4) "val1"
  ["V2"]=>
  string(4) "val2"
}
<<<

problem:
... see: the first array index is parsed to "/tmp/bug_V1". 
downwardcompatibility to PHP3 not given !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-19 11:11 UTC] sander@php.net
Submitted 3 times...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 07:01:27 2024 UTC