You are here: Re: PHP IP blocking script is not working... « PHP Programming Language « IT news, forums, messages
Re: PHP IP blocking script is not working...

Posted by Carl Pearson on 01/24/07 19:39

Françoise Debat wrote:
> Hello,
>
> I wonder if anybody can help. I have an IP blocking script which
> displays a blank screen if an IP is detected from a list in an external
> file. The problem is, the script only reads the last IP¨in the file, not
> every one. Can somebody tell me where this is going wrong?

Saw you already had it working, but just thought I'd point out that
since you're manually adding the IP's, you could also have done this
with .htaccess

Not sure if it's any more efficient, just another method. The
overhead's got to come from *somewhere*, either the web server parsing
the .htaccess file PHP reading your script to check for banned IP's.

 

Navigation:

[Reply to this 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

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