What php version?
For older php version:
$HTTP_SERVER_VARS['HTTP_REFERER'];
Newer:
$_SERVER['HTTP_REFERER'];
Or you can usually do: echo $HTTP_REFERER;
I don't think there is even a way of disabling it in the php.ini
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
I've tried both. I think the server has 4.2.3.
Thanks,
Stephen Craton
http://www.melchior.us
- Original Message -
From: Sebastian [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:02 PM
Subject: Re: [PHP] Enabling HTTP_REFERER
-
From: Sebastian [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:02 PM
Subject: Re: [PHP] Enabling HTTP_REFERER
What php version?
For older php version:
$HTTP_SERVER_VARS['HTTP_REFERER'];
Newer:
$_SERVER['HTTP_REFERER'];
Or you
For some reason my webhost doesn't allow the HTTP_REFERER variable. I
call
it up and it's empty, so I did a print_r($HTTP_SERVER_VARS); and there
wasn't a variable called HTTP_REFERER. I've heard that some servers
disable it. Since I have a dedicated server, how can I enable this
variable
: RE: [PHP] Enabling HTTP_REFERER
For some reason my webhost doesn't allow the HTTP_REFERER variable. I
call
it up and it's empty, so I did a print_r($HTTP_SERVER_VARS); and there
wasn't a variable called HTTP_REFERER. I've heard that some servers
disable it. Since I have a dedicated server
5 matches
Mail list logo