Login   Register  
PHP Classes
elePHPant
Icontem

Spam blocker: Check visitor IP address in Project Honey Pot RBL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-02-19 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 612 All time: 4,697 This week: 1,472Up
Version License PHP version Categories  
spam_blocker 1.5BSD License5.0Networking, PHP 5, Security
Description Author  

This class can be used to check spamming and other malicious and undesirable visitors' IP addresses in Project Honey Pot RBL (Realtime Black List).

It can perform a query to the Project Honey Pot RBL DNS server for a given IP address using your RBL API key.

The class analyzes the RBL response and sets a session variable if the current user IP address is of a spammer that should be blocked.

The blocked and allowed addresses are logged to a file or to tables of a mysql database.

Innovation Award  
PHP Programming Innovation award nominee
February 2009
Number 5


Prize: One downloadable copy of PhpED Professional
Every day attempts to spamming sites grows, causing excessive load to site servers, not to mention when spam robots infiltrate unwanted content.

This class provides a solution to help PHP sites quickly block spam robots IP addresses using the Project Honey Pot black list.

Manuel Lemos
Picture of Alec Scaresbrook
Name: Alec Scaresbrook <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 2703123 in United Kingdom United Kingdom
Week rank: 1580 Up64 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • readme_file.jpg
  • programming.jpg
  • example_filelist.gif
  Files folder image Files  
File Role Description
Plain text file 00_search_engine.dat Output Typical search engine visits
Plain text file 05_allowed_suspici...comment_spammer.dat Output Access allowed - suspicious comment spammert
Plain text file 05_blocked_suspici...comment_spammer.dat Output Access blocked - suspicious comment spammer
Image file filelist.gif Screen Typical activity file list after a few hours
Accessible without login Plain text file readme.txt Doc. Readme file for spam blocker
Plain text file spam_blocker_class.php Class Main class for spam blocker
Plain text file spam_blocker_connection.php Conf. mysql connection file

 Version Control Unique User Downloads Download Rankings  
 0%Total:612All time:4,697
 This week:0This week:1,472Up