Re: A referer code needed
| From: | Brad Thomas | Date: | Tue, 11 Dec 2001 03:35:34 +0000 |
| Subject: | Re: A referer code needed | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10835@lists.php.net to get a copy of this message | ||
"Emad El-Din" <vdemad@hotmail.com> wrote in message
news:20011207155223.39181.qmail@pb1.pair.com...
> Hi
> I would like to know the function written to know the URL of the page the
> user's browser was previously on if the user followed a link from that
page
> to my php script (as "referer" in perl script)
> I'm using Apache webserver on win98 OS.
> If any one know the code to be written plz send it to me as soon as
> possible.
>
> Thanks a lot
>
>
>
Hi.
I believe the variable you are looking for is $HTTP_REFERER.
Brad.