|
Posted by Bernie Woodham on 02/07/06 02:07
"J.O. Aho" <user@example.net> wrote in message
news:44q4mcF3559eU1@individual.net...
> Bernie Woodham wrote:
>> Hello I am using a piece of code to divert certain IP addresses away from
>> my website. I've used this code for a couple of years with great success
>> on one site, but cannot get it to work on another site I've decided to
>> place it on?
>>
>> Whey would this be?
> compare PHP versions and the output from phpinfo() on both servers, and
> you should see what is different when it comes to compile options and from
> the Changelog you see what is different with the different versions of
> PHP.
>
>
> //Aho
Hello again. Hope you don't get sick of this. But the site that the code
DOES work on provides REMOTE_ADDR in the ENV settings.
But the site that the code does NOT work on does NOT have REMOTE_ADDR in
the ENV settings. Although it does have REMOTE_ADDR in the PHP Variable
settings for "_SERVER["REMOTE_ADDR]"
and it has REMOTE_ADDR listed in the ISAPI settings.
Could this be the reason? And if is there a way to alter the code to make
it work?
Thanks much.
Navigation:
[Reply to this message]
|