Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Sebastian
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

- Original Message -
From: Stephen [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:45 PM
Subject: [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, how can I enable this variable again?

Thanks,
Stephen Craton
http://www.melchior.us




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



Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Stephen
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


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

- Original Message -
From: Stephen [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:45 PM
Subject: [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, how can I enable this variable again?

Thanks,
Stephen Craton
http://www.melchior.us




--
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



Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread James
It will be something like Norton Firewalling -

Enabled, norton will disable the referer val.

jim.

Stephen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 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


 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

 - Original Message -
 From: Stephen [EMAIL PROTECTED]
 To: PHP List [EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 7:45 PM
 Subject: [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, how can I enable this variable again?

 Thanks,
 Stephen Craton
 http://www.melchior.us




 --
 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



RE: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread John W. Holmes
 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 again?

HTTP_REFERER (is that the right spelling?) is set by the browser, not
the server. So if you're not seeing a value, then your browser is not
setting it. Or something is stripping it on the way out from your
computer.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



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



Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Stephen
But it works on other websites I've made, esspecially on my local server.

Thanks,
Stephen Craton
http://www.melchior.us


- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: 'Stephen' [EMAIL PROTECTED]; 'PHP List'
[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 8:16 PM
Subject: 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, how can I enable this
 variable again?

HTTP_REFERER (is that the right spelling?) is set by the browser, not
the server. So if you're not seeing a value, then your browser is not
setting it. Or something is stripping it on the way out from your
computer.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



--
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