[pmwiki-users] blocklist question - ip addresses

pmwiki at 911networks.com pmwiki at 911networks.com
Thu Apr 8 08:47:29 CDT 2010


On Wed, 7 Apr 2010 22:34:02 -0700
adam overton <a at plus1plus1plus.org> wrote:

>i've been doing this:
>block:194.44.*
>
>... and i'm still getting spam from various 194.44... ip's.

In local/config.php
# Ban the leechers
if (preg_match('/^207.105.41|next ip address|next IP address/', @$_SERVER['REMOTE_ADDR'])) {
    print("Access denied.");
    exit(0);
}

There maybe others ways or recipes. But that's what I use and it
works.

-- 
Thanks
http://www.911networks.com
When the network has to work



More information about the pmwiki-users mailing list