XavierForum.com
http://www.xavierforum.com/

Check Spammers API
http://www.xavierforum.com/viewtopic.php?f=5&t=20135
Page 1 of 1

Author:  bylla [ Fri Jun 03, 2011 4:52 pm ]
Post subject:  Check Spammers API

At http://checkspammers.xaviermedia.com/ we have a web site where you can check spammers (IP address and email) against several spam databases at once. Since this is posted in the API section of this forum there's of course also and API available ;-)

To use the API just call it from a script like this:
Code:
$fspamcheck = file_get_contents('http://checkspammers.xaviermedia.com/check_spammers_plain.php?name='. $name .'&email='. $email .'&ip='. $ip);

This code will return a string with TRUE if there's a positive match in any of the databases we query. Positive match = spammer

If you use Wordpress there's already a pre-made blog plugin you can use. Just download and install in your Wordpress blog.

Every time you query our checkspammers.xaviermedia.com server (both using the web interface and the API) the positive matches are stored in our database and we use that information to both generate statistics and also lists of IP addresses you can block using for example .htaccess. This way you can block recently active spammers already before they spam you ;-) and that way save both problems and server CPU.

Files to download:
Every hour we create these files for you to use in the way you feel like to block spammers. The files contains data from the API, so the more checks that are done the more accurate the files will be ;-) . By using for example one of the .htaccess files to block spammers, already known spammer wont be able to even access your forums or blogs and therefore save CPU on your server for real customers.

.htaccess file to block IPs from the last 7 days
.htaccess file to block IPs from the last 30 days
.htaccess file to block IPs from the last 180 days
.htaccess file to block IPs from the last 365 days
.htaccess file to block IPs from the beginning of this service

Text file with IPs from the last 7 days (one IP per line)
Text file with IPs from the last 30 days (one IP per line)
Text file with IPs from the last 180 days (one IP per line)
Text file with IPs from the last 365 days (one IP per line)
Text file with IPs from the beginning of this service (one IP per line)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/