RE: [PHP-WIN] Page names as variables?
| From: | Robert Collins | Date: | Tue, 23 Jan 2001 17:28:33 +0000 |
| Subject: | RE: [PHP-WIN] Page names as variables? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5161@lists.php.net to get a copy of this message | ||
Try the $HTTP_REFERER
-----Original Message-----
From: Ed Meyer [mailto:edmeyer@smartsbroadcast.com]
Sent: Tuesday, January 23, 2001 10:14 AM
To: php-windows@lists.php.net
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: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net