Reply to Re: code works on one site, not on another????

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация