1
I finally got tired of removing comment spam.
I registered for a free Account on
http://www.projecthoneypot.org.Then I downloaded this class:
http://projecthoneypot.org/board/read.php?f=10&i=179&t=179
and added this code to mainfile.php
include 'httpbl.php';
$h=new http_bl('*********'); // No, i will not post my Key here.
$ip=$_SERVER['REMOTE_ADDR'];
$r=$h->query($ip);
if($r>=2){
echo ("This IP is reported as a known Spammer. Please refer to http://www.projecthoneypot.org to change your status.<br>");
die ( "Found a " . $h->type_txt ." (".$h->type_num .") with a score of ". $h->score . ", last seen since ". $h->days . " days");
}
}
I got no more spam from that day.