Re: URL of calling page
| From: | Justin French | Date: | Sun, 16 Feb 2003 22:47:12 +0000 |
| Subject: | Re: URL of calling page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135785@lists.php.net to get a copy of this message | ||
on 17/02/03 9:25 AM, Kevin Waterson (kevin@oceania.net) wrote:
> This one time, at band camp,
> acleave <acleave@uark.edu> wrote:
>
>> I believe there's a way in PHP to get the URL of the page that called the
>> current page but can't find it. Is there such a function? Or would I have
>> to
>> use another script (like Javascript)?
>
> $_SERVER['HTTP_REFERER']
>
> Kevin
But it's not ALWAYS set by the browser, so don't rely on it for anything
mission critical on your site.
Justin