I think that solves all my problems then. I was doing a <meta> redirect.
Could that be causing the problem? How else could I overcome this problem?
I'm trying to make a good anti leech system.

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


----- Original Message -----
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "Niels Andersen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 1:02 PM
Subject: Re: [PHP] Re: Enabling HTTP_REFERER



Niels was right on the money.

If you just typed the URL in the address bar, then HTTP_REFERER will not
be set.  For that variable to be set, you must visit the URL as a result
of clicking a link on another page.

p

On Tue, Mar 11, 2003 at 12:27:15PM -0500, Stephen wrote:
>
> Yes, and I tried going by just typing the URL in the address bar.
>
> Either way, the HTTP_REFERER variable should have atleast appeared in the
> print_r() function I ran.
>
> Thanks,
> Stephen Craton
> http://www.melchior.us
>
>
> ----- Original Message -----
> From: "Niels Andersen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 7:57 AM
> Subject: [PHP] Re: Enabling HTTP_REFERER
>
>
> I don't mean any disrespect, but I just want to check that the basics are
> OK, sometimes I forget stuff like that myself: Did you click a link to go
to
> your test page?
>
> "Stephen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> 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?

--
  Paul Chvostek                                             <[EMAIL PROTECTED]>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/


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