Re: Referring Page
| From: | Matt M. | Date: | Thu, 14 Oct 2004 21:26:40 +0000 |
| Subject: | Re: Referring Page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199538@lists.php.net to get a copy of this message | ||
> >> 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
> >
>
> Can I ask why?
>
not sure if you are asking me, but like someone already said in this
thread "But be warned, they're not that reliable as some firewalls
block/muck with them, and they can also be easily spoofed."
I also even turn them off when I am using mozilla/firefox.
Just not a reliable variable