what are the different ways of finding the previous page in php? meaning is it in a register global, another php function that i'm not aware of? thanx in advance.
[tt]$_SERVER['HTTP_REFERER'][/tt] (or [tt]$HTTP_SERVER_VARS['HTTP_REFERER'][/tt] if you have an older version of PHP) may or may not contain the URL to the previous page, depending on browser settings and how the users got to the page.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.