The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

$REQUEST_URI not returned?

I am using PHP to make up part of a navigation script on my personal website www.seriocomic.com.

Part of this navigation script uses the $REQUEST_URI variable to determine where the viewer is on the site. However, on one particular area of the site (imagery) there is no value returned so the navigation menu fails to indicate properly.

The script uses

PHP Code:

if ( substr($urlname,1,4) == "imag" )

to determine if the viewer is looking at the imagery part of the site. This works for the rest of the site, ie: