Quello esatto è $_SERVER['REQUESTED_URI']

Perchè non ti funziona? Hai attivato i notice?