Re: detecting referer
| From: | Chris Shiflett | Date: | Thu, 07 Aug 2003 16:07:10 +0000 |
| Subject: | Re: detecting referer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158671@lists.php.net to get a copy of this message | ||
--- Creative Solutions New Media <csnm@ns.sympatico.ca> wrote:
> What is the best way, using php, to detect information about the
> referrer to a page.
echo $_SERVER['HTTP_REFERER'];
To see all of the information the Web server makes available to you, try this:
print_r($_SERVER);
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/