Networking: Spam blocker Alec Scaresbrook (contact me)
This class can be used to check spammers' IP address 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 set 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.