RE: [PHP] detecting referer
| From: | Creative Solutions New Media | Date: | Thu, 07 Aug 2003 16:48:08 +0000 |
| Subject: | RE: [PHP] detecting referer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158681@lists.php.net to get a copy of this message | ||
Thanks all who replied.
Tim Winters
Manager, Creative Development
Sampling Technologies Incorporated (STI)
webmaster@samplingtechnologies.com
csnm@samplingtechnologies.com
W: 902 450 5500
C: 902 430 8498
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: August 7, 2003 1:07 PM
To: csnm@ns.sympatico.ca; php-general@lists.php.net
Subject: Re: [PHP] detecting referer
--- 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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php