Re: URL of calling page
| From: | Kevin Waterson | Date: | Sun, 16 Feb 2003 22:25:29 +0000 |
| Subject: | Re: URL of calling page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135784@lists.php.net to get a copy of this message | ||
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
--
______
(_____ \
_____) ) ____ ____ ____ ____
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia