Bug #15055 Updated: setting a _GET[] variable does not set it in _REQUEST

From: Date: Wed, 16 Jan 2002 12:17:39 +0000
Subject: Bug #15055 Updated: setting a _GET[] variable does not set it in _REQUEST
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77237@lists.php.net to get a copy of this message
ID: 15055 Updated by: sander Reported By: pete@pwo.ca Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: Linux PHP Version: 4.1.1 New Comment: _REQUEST is only initialized once (at start). Any later changes to _GET and/or _POST will not show up. Previous Comments: ------------------------------------------------------------------------ [2002-01-15 15:48:15] pete@pwo.ca 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 this bug report at http://bugs.php.net/?id=15055&edit=1

« previous php.dev (#77237) next »