php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39370 $_GET no longer works under FastCGI but works under CGI.
Submitted: 2006-11-04 07:53 UTC Modified: 2006-11-09 10:37 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: trustpunk at gmail dot com Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 6CVS-2006-11-04 (snap) OS: Windows
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: trustpunk at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-04 07:53 UTC] trustpunk at gmail dot com
Description:
------------
The special $_GET variable no longer works under FastCGI. I'm
not sure if the others fail. $_SERVER seems to work.

Reproduce code:
---------------
PHP/6.0.0-DEV

Code:

<pre>
<?php 
print_r($_GET);
?>
</pre>

URL: http://localhost/test.php?get=Hello


Expected result:
----------------
I expect to see some elements in the $_GET array after sending
a GET request from the URL.

Actual result:
--------------
I get nothing in the $_GET array after using a request like:

http://localhost/test.php?get=Hello

Note: Remember that CGI/1.1 is npot effected by this bug from
what I've tested.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-08 05:55 UTC] trustpunk at gmail dot com
BUMP! Has anyone even checked into this yet?
 [2006-11-08 14:02 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-11-09 01:50 UTC] trustpunk at gmail dot com
Sorry, 

but the problem still perists. Have you also tested it?
 [2006-11-09 01:52 UTC] trustpunk at gmail dot com
I'm using PHP6-DEV, not PHP5. Now wonder the problem remains.
 [2006-11-09 08:51 UTC] tony2001@php.net
PHP6 is a development version, which might not compile at all and it's okay. Please use and test PHP5, if you're not working on some part of PHP6.
 [2006-11-09 10:37 UTC] trustpunk at gmail dot com
I'm just trying to let the PHP6 Developers know that $_GET
does not work under FastCGI.
 [2006-11-09 10:37 UTC] trustpunk at gmail dot com
I'm just trying to let the PHP6 Developers know that $_GET
does not work under FastCGI.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 20:01:34 2025 UTC