Bug #15055: setting a _GET[] variable does not set it in _REQUEST
| From: | pete at pwo dot ca | Date: | Tue, 15 Jan 2002 20:48:16 +0000 |
| Subject: | Bug #15055: setting a _GET[] variable does not set it in _REQUEST | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77165@lists.php.net to get a copy of this message | ||
From: pete@pwo.ca
Operating system: Linux
PHP version: 4.1.1
PHP Bug Type: *General Issues
Bug description: setting a _GET[] variable does not set it in _REQUEST
If you set a variable in the $_GET array,
it will not show up in the $_REQUEST array.
<?
$_GET[page] = "index.php";
echo "get=".$_GET[page]."\n";
echo "request=".$_REQUEST[page]."\n";
?>
This will output:
get=index.php
request=
But it should output:
get=index.php
request=index.php
My configure was:
./configure \
--enable-sockets \
--with-ftp \
--with-xml \
--with-pgsql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-imap
Thanks,
-Pete
--
Edit bug report at: http://bugs.php.net/?id=15055&edit=1