PHP 4.0 Bug #6509: Parsing HTTP GET values (with apache)

From: Date: Sun, 03 Sep 2000 07:41:07 +0000
Subject: PHP 4.0 Bug #6509: Parsing HTTP GET values (with apache)
Groups: php.dev 
Request: Send a blank email to php-dev+get-31733@lists.php.net to get a copy of this message
From: nicod@inwind.it Operating system: Linux Mandrake 7.1 PHP version: 4.0.2 PHP Bug Type: Installation problem Bug description: Parsing HTTP GET values (with apache) Every thing was working fine with v.4.0.1pl2, but when I upgraded PHP to v.4.0.2 , the engine doesn't seem to be parsing HTTP GET and POST values anymore. Configure line: ./configure --with-pgsql --with-apxs --with-java php.ini file the same as the php.ini-optimized featured in php 4.0.2 apache ver. 1.3.12 php compiled in dynamic module mode ======================================= file put.php : <FORM ACTION="get.php" METHOD=GET> <INPUT TYPE=hidden NAME=pms VALUE="12"> <INPUT TYPE=SUBMIT NAME=submit VALUE=vai > </FORM> ====================================== file get.php : <? echo "pms is =$pms# <BR>"; // prints unexpectectly: pms is =# // while expecting: pms is =12# $QUERY_STRING = getenv("QUERY_STRING"); echo "Query string is $QUERY_STRING <BR>"; // prints Query string is 12 *4_strange_chars* =vai phpinfo(); // the field HTTP_GET_VARS["pms"] seems to be correct: 12 // the field HTTP_GET_VARS["submit"] seems to be correct: vai // the field HTTP_SERVERVARS["QUERY_STRING"] seems to be INcorrect: pms=12 *4_strange_chars*=vai ?> ========================== Thank you!

« previous php.dev (#31733) next »