|
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.
[Back to original message]
|