ID:               27740
 User updated by:  bugs dot php dot net at sig11 dot com
 Reported By:      bugs dot php dot net at sig11 dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Solaris 8
 PHP Version:      4.3.5
 New Comment:

Actually this turned out to be a bug in suPHP.



See this page for a fix:



http://lists.marsching.biz/pipermail/suphp/2004-March/000624.html


Previous Comments:
------------------------------------------------------------------------

[2004-03-28 07:40:40] bugs dot php dot net at sig11 dot com

Description:
------------
With PHP running as a CGI under Apache2 and suPHP (http://suphp.org)



If you have a URL like:



http://blah.com/blah.php?transform=yes&sortby=



The ENTIRE $_GET array will be empty. 



But if you have:



http://blah.com/blah.php?transform=yes



It will work fine.





It would appear having emtpy CGI GET variables screws up PHP.

Reproduce code:
---------------
//For the script blah.php?transform=yes&sortby=



echo "transform: $_GET['transform']";

Expected result:
----------------
transform: yes

Actual result:
--------------
<nothing>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27740&edit=1

Reply via email to