From:             J dot M dot Benitez at Computer dot org
Operating system: Linux 2.4.19+
PHP version:      4.3.1
PHP Bug Type:     Apache2 related
Bug description:  PHP scripts don't get params from query string

Dear all, 
 
I've got apache 2.0.44 running under Linux Red Hat 8.0 
(kernel 2.4.19). This was an upgraded from Red Hat 7.3 
installation, which also implied an update of PHP. Most 
web applications are operative in the new environment, 
except those developed with PHP. 
 
Our main problem is that php scripts don't get the params 
passed through the query string, namely, if test.php is: 
---- 
<?php 
  print "<HTML>\n<HEAD>\n<TITLE>Test 
page</TITLE></HEAD>Testing for params readi 
ng<P>"; 
  print "Param: $param<BR>"; 
  print "\n</HTML>"; 
?> 
---- 
The output for http://myhost.domain/test.php?param=3 
should be something like: 
---- 
Param: 3 
---- 
Unfortunately, only "Param: " is produced. It doesn't 
matter which param value you pass, the script never sees 
it.  
 
I've checked this isn't a general problem for the web 
server, because, cgi scripts written in perl or python 
works perfectly, that is, they DO get params form query 
string ok. 
 
I have tried with different versions of PHP starting with 
4.2.2 as delivered with RH 8.0 and other updates: 4.3.0 
and the fresh 4.3.1. 
 
All of then suffer from the same issue. I'm not absolutely 
sure this is a php bug, but it seems as the most plausible 
reason. 
 
Any hints toward this? Any similar experiences? 
 
-- 
Edit bug report at http://bugs.php.net/?id=22313&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22313&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22313&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22313&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22313&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22313&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22313&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22313&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22313&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22313&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22313&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22313&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22313&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22313&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22313&r=gnused

Reply via email to