NYCPHP Meetup

NYPHP.org

[nycphp-talk] how to grab original uri from error page

Artur Marnik artur at marnik.net
Mon Feb 23 16:11:21 EST 2009


try $_SERVER["HTTP_REFERER"]

Artur


Michael Southwell wrote:
> I need to grab the original uri after having been redirected
> to an error page (like example.com/blah now that I'm in 404.php).
> I suppose this is somewhere in HttpRequest but I can't find it
> (brains not working very well right now). Anybody?
> 



More information about the talk mailing list