I have a quick question in php ... it should be : $_SERVER['REQUEST_URI'];. Take a look at : PHP Get the Full URL ... Unquoted strings are bad! REQUEST_URI is ...
stackoverflow.com