Page 1 of 1

REQUEST_URI not available in Windows?

Posted: Wed Apr 18, 2007 7:02 pm
by alex.barylski
I have a client reporting the following errors:

Code: Select all

Notice: Undefined index: REQUEST_URI in
I am also getting an error like this for DOCUMENT_ROOT

Here are his specs:
I am running this on a windows 2003 server enterprise edition with MySQL
ver. 5.0 and php ver. 4.4.4
Anyone have any ideas why those variables wouldn't be specified? Are there settings in php.ini which need investigating?

Posted: Wed Apr 18, 2007 7:21 pm
by Weirdan
Elements in the $_SERVER array, as you might guess, are server dependent. Most probably your client runs IIS.
Check this page for a compatibility chart.

Posted: Thu Apr 19, 2007 12:14 pm
by alex.barylski
Hmmm....thanks for that man. :)

Much appreciated :)