#25968 [NEW]: $_SERVER['REQUEST_URI'] - Undefined index
| From: | bob at rsi dot com | Date: | Thu, 23 Oct 2003 14:43:35 +0000 |
| Subject: | #25968 [NEW]: $_SERVER['REQUEST_URI'] - Undefined index | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-49395@lists.php.net to get a copy of this message | ||
From: bob at rsi dot com
Operating system: W2K and RH8
PHP version: 4.3.3
PHP Bug Type: *Web Server problem
Bug description: $_SERVER['REQUEST_URI'] - Undefined index
Description:
------------
Somewhere between PHP4.2.3 and PHP 4.3.1 REQUEST_URI disappeared.
Reproduce code:
---------------
echo $_SERVER['REQUEST_URI'];
Expected result:
----------------
echo _SERVER['SCRIPT_NAME'] . '?' . _SERVER['QUERY_STRING'];
Actual result:
--------------
Notice: Undefined index: REQUEST_URI in ...
--
Edit bug report at http://bugs.php.net/?id=25968&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25968&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25968&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25968&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25968&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25968&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25968&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25968&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25968&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25968&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25968&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25968&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25968&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25968&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25968&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25968&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25968&r=float