Try the $HTTP_REFERER
-----Original Message-----
From: Ed Meyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 10:14 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Page names as variables?
Is there an easy way to grab the page name or the referring page from
another page? I have a logon script which checks if they are logged in and
dumps them to a logon page if they aren't and I'd like to have a way for
them to get back to where they came from (ie. they walked away from their
desk and the session times out).
I've been working on a way where each page knows its name and sets that as a
variable but that seems rather clunky.
Thanks!
Ed Meyer
Smarts Broadcast Systems
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]