10
right now i use this:
include 'httpbl.php';
$h=new http_bl('abcdefghi'); // put your access key here
$ip=$_SERVER['REMOTE_ADDR']; // replace with the ip to query
$r=$h->query($ip);
if($r>=2){
if ($h->score>20){
echo ("This IP is reported as a known Spammer. Please refer to http://www.projecthoneypot.org to change your status.
");
die ( "Found a " . $h->type_txt ." (".$h->type_num .") with a score of ". $h->score . ", last seen since ". $h->days . " days");
}
}
You must register to projecthoneypot.org for a valid api-key. Replace abcdefghi with that key.
I came up with the idea, since
drupal,
phpbb,
Wordpress and even MediaWiki already have modules.