> 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).
> Try the $HTTP_REFERER

Actually, for something like this, you are going to want to use:

$REQUEST_URI

as the former does not include any GET variables whereas the latter will.
I do something very similar to what you are looking to do above and I
found that $HTTP_REFERER just wasn't doing it for me...

Chris

Reply via email to