Re: (new question on this) http referer
| From: | Joe Szilagyi | Date: | Thu, 08 Apr 2004 16:31:13 +0000 |
| Subject: | Re: (new question on this) http referer | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182858@lists.php.net to get a copy of this message | ||
Just a follow up on this one--I've seen where consistently that
$HTTP_REFERER will only show local referers, but not stuff from other
sites/hostnames. This is on mod_php... any workaround for that?
Regards,
Joe
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "php" <php-general@lists.php.net>; "Chris Bruce"
<chris@idextrus.com>
Sent: Thursday, April 08, 2004 12:30 PM
Subject: Re: [PHP] http referrer
From: "Chris Bruce" <chris@idextrus.com>
> I apologize for my ignorance, but I am trying to find a way to grab the
> referring url. I can't seem to find the environment variable to do
> this. Does anyone know how to grab this?
$_SERVER['HTTP_REFERER']
print_r($_SERVER) will tell you for sure.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php