php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25968 $_SERVER['REQUEST_URI'] - Undefined index
Submitted: 2003-10-23 10:43 UTC Modified: 2003-10-31 12:06 UTC
From: bob at rsi dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.3 OS: W2K Server - SP3
Private report: No CVE-ID: None
 [2003-10-23 10:43 UTC] bob at rsi dot com
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 ...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-23 22:13 UTC] iliaa@php.net
What sapi are you using?
 [2003-10-24 09:15 UTC] bob at rsi dot com
System = Windows NT 5.0 build 2195 	
Build Date = Aug 24 2003 22:01:16
Server API = CGI/FastCGI
PHP API = 20020918
PHP Extension = 20020429
Zend Extension = 20021010
Debug Build = no
Thread Safety = enabled
 [2003-10-30 20:47 UTC] sniper@php.net
See the php.ini-dist for all the cgi. prefixed options
and tune those. This is not a bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC