|
|
 |
FN-FORUM: Any way to detect where a user has been redirected from in PHP?
date posted 1st November 2007 13:59
Hiya,
Throughout the site which got smooshed yesterday are a load of
header('Location: blah'); redirects which point at the login page.
Does anyone know of a way to detect the URL of the page which contains
that line? HTTP_REFERER seems only ever to contain the page which
pointed at the page which redirected you, rather than the page itself.
I'm asking this 'cause I'd rather not rewrite all the references to
Location: blah to include the calling URL in a get query. :/
Thanks,
Ben.
|
 |
|