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" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>; "Chris Bruce" <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 12:30 PM
Subject: Re: [PHP] http referrer


From: "Chris Bruce" <[EMAIL PROTECTED]>

> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to