#13757 [Opn->Ver]: Commandline: querystring parser buggy

From: Date: Sun, 18 May 2003 17:58:16 +0000
Subject: #13757 [Opn->Ver]: Commandline: querystring parser buggy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39890@lists.php.net to get a copy of this message
ID: 13757 Updated by: sniper@php.net Reported By: tho at e-dict dot net -Status: Open +Status: Verified -Bug Type: Scripting Engine problem +Bug Type: CGI related Operating System: Linux -PHP Version: 4.3.x +PHP Version: 4.3.2RC3-dev Previous Comments: ------------------------------------------------------------------------ [2003-05-07 06:14:45] tho at e-dict dot net bug verified, still there ------------------------------------------------------------------------ [2003-05-07 05:52:32] tho at e-dict dot net tho@dev0:~/test> php -i|grep "PHP Version" PHP Version => 4.3.0 tho@dev0:~/test> ./test.php "V1=val1&V2=val2" V1 = V2 = val2 array(2) { ["_/test_php_V1"]=> string(4) "val1" ["V2"]=> string(4) "val2" } Seems not to be fixed in 4.3.0. Please reopen bug. ------------------------------------------------------------------------ [2003-02-08 00:52:44] sniper@php.net fixed in 4.3.0 ------------------------------------------------------------------------ [2002-06-26 09:37:45] Ingo dot Freund at e-dict dot net in 4.2.1 still not fixed the result remains the same php doesn't take notice of the first argument but it is visible in $HTTP_GET_VARS ------------------------------------------------------------------------ [2002-06-06 06:03:52] mfischer@php.net Not CLI. CLI doesn't work that way anyway. CGI does this: $ cat test.php #!/home/mfischer/php4/bin/php-cgi -f <? print "V1 = $V1\n"; print "V2 = $V2\n"; var_dump($HTTP_GET_VARS); ?> $ ./test.php "V1=val1&V2=val2" V1 = V2 = array(2) { ["_/test_php_V1"]=> string(4) "val1" ["V2"]=> string(4) "val2" } Admitted, looks wierd. PHP3 compatibility is of no concern here, anyway. If no one tells me better I'ld expect V1 beingin HTTP_GET_VARS. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/13757 -- Edit this bug report at http://bugs.php.net/?id=13757&edit=1

« previous php.bugs (#39890) next »