HTTP/GET parameters not registered in $_GET
| From: | Sebastian Bergmann | Date: | Fri, 12 Apr 2002 07:08:24 +0000 |
| Subject: | HTTP/GET parameters not registered in $_GET | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82661@lists.php.net to get a copy of this message | ||
Win32, Apache 2.0.36-dev, PHP 4.3.0-dev.
The script
<pre>
<?php
print_r($_GET);
?>
outputs
Array(
)
when called with
http://localhost/test.php?foo=bar
using the CGI SAPI.
When I switch to the Apache2Filter SAPI it outputs
Array
(
[foo] => bar
)
which is, of course, correct.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/