Page names as variables?

From: Date: Tue, 23 Jan 2001 17:14:08 +0000
Subject: Page names as variables?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5158@lists.php.net to get a copy of this message
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

« previous php.windows (#5158) next »