#24271 [NEW]: register_globals broken, not registering env or GET variables ($REQUEST_URI)
| From: | danbeck-php at dealnews dot com | Date: | Fri, 20 Jun 2003 18:14:42 +0000 |
| Subject: | #24271 [NEW]: register_globals broken, not registering env or GET variables ($REQUEST_URI) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-42282@lists.php.net to get a copy of this message | ||
From: danbeck-php at dealnews dot com
Operating system: RH 7.1
PHP version: 4.3.3RC1
PHP Bug Type: *General Issues
Bug description: register_globals broken, not registering env or GET variables ($REQUEST_URI)
Description:
------------
I have both the register globals and track vars options turned on and
verified both through phpinfo() output.
Global GET or apache environment variables are not accessable, except
through the $_SERVER or $_GET arrays. POST variables might also be
inaccessable, but I have not tested them.
Backing down from 4.3.3RC1 to 4.3.2, without any configuration changes
what-so-ever, resolved the issue.
Reproduce code:
---------------
<?
echo $_SERVER['HTTP_USER_AGENT'];
echo $REQUEST_URI;
?>
Expected result:
----------------
The first echo statement should echo the user agent string and the second
echo statement should echo the URI requested by the browser.
Actual result:
--------------
The first echo statement echos the user agent string. The second echo
statement echos nothing.
--
Edit bug report at http://bugs.php.net/?id=24271&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24271&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24271&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24271&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24271&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24271&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24271&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24271&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24271&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24271&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24271&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24271&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24271&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24271&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24271&r=gnused