RE: [PHP] Referring Page
| From: | Ben Miller | Date: | Thu, 14 Oct 2004 21:14:54 +0000 |
| Subject: | RE: [PHP] Referring Page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199534@lists.php.net to get a copy of this message | ||
Thanks all. That did it perfectly.
-----Original Message-----
From: Matt M. [mailto:h.dudeness@gmail.com]
Sent: Thursday, October 14, 2004 2:21 PM
To: Ben
Cc: php-general@lists.php.net
Subject: Re: [PHP] Referring Page
> I am trying to set up a script that will do different things based on the
> reffering page, without having to include the information in the URL.
Does
> PHP have a built in variable or function that would tell the rest of the
> script what page the user came from? Any help is much appreciated.
there is $_SERVER['HTTP_REFERER']
but it is unreliable
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php