[nycphp-talk] how to grab original uri from error page
Michael Southwell
michael.southwell at nyphp.com
Mon Feb 23 17:36:13 EST 2009
Daniel Convissor wrote:
> Hey Michael:
>
> On Mon, Feb 23, 2009 at 03:59:52PM -0500, 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).
>
> It's in $_SERVER['REQUEST_URI'].
doh, of course ;-(
My favorite way to figure stuff like
> this out is putting phpinfo() in the page you're curious about.
aha, neat. thanks, Dan
--
=================
Michael Southwell
Vice President, Education
NYPHP TRAINING: http://nyphp.com/Training/Indepth
More information about the talk
mailing list