spamIP
Download latest version of spamIP
Listed at Hot Scripts in PHP

Support This Project

Developer:

Magne Nygaard Magne Nygaard

What is spamIP?

spamIP is a PHP script that blocks out spambots from any type of website that supports PHP. It uses the data collected by Stopforumspam.com and the GeoIP data from MaxMind.com.

How does it works?

The script has two modules.

Stopforumspam module:
With this module you can block out spambots/visitors that has been reported as spammers from your website. If the visitor's IP adresse is reported as a spammer in the Stopforumspam.com database, it executes a die; command.

GeoIP module:
With this module you can block out whole countries from visiting/spamming your website. You can select which countries you want to block out in the configuration file. If the visitor's IP adresse is from a country that you want to block, it executes a die; command.

Both modules are designed to automatically download data from Stopforumspam.com and MaxMind.com by setting up a cronjob.

System Requirements:

How to use it?

The usage of spamIP is realy simple. After you have installed the script, you simply put the following code at the top of every page you want to use it on:

<?php include($_SERVER['DOCUMENT_ROOT'].'/spamip/spamip.php'); ?>