RE: [PHP] Referring Page
| From: | Pablo Gosse | Date: | Thu, 14 Oct 2004 20:15:09 +0000 |
| Subject: | RE: [PHP] Referring Page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199521@lists.php.net to get a copy of this message | ||
[snip]
> 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.
[/snip]
http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.s
erver
But be warned, they're not that reliable as some firewalls block/muck
with them, and they can also be easily spoofed.
Cheers,
Pablo