PHP script for blocking email harvesters and spammers
January 15th, 2008 | by TK |With Project Honey Pot’s HTTP Blacklist you can stop comment spammers, e-mail harvesters and. Of course you’ll need to sign up for a free account at PHPot’s website, but that’s a small price to pay for having a huge lack of spam in your blog, web directory or wherever else they decide to attack.
After you sign up and request an API Key, head on over to PlanetOzh and pick up the PHP script he made to query the Project Honeypot’s HTTP Blacklist server and then block any offending IP that is logged there. Most of these spammers and e-mail harvesters were caught using PHPot’s honeypot script which you hide in your code, which spam bots will follow and then basically send spam to PHPot’s servers, therefore being "registered" as spammers. On my web directory, I’ve already caught over 40 spammers and harvesters in the act. By using PlanetOzh’s PHP script in accordance with the honeypot script you can block the already registered spammers before they have the chance to attack.
If you’re using WordPress, get the HTTP:BL plugin.
