[spam-stopper] PHP4 class

Michael Dale mdale at dalegroup.net
Tue Oct 24 03:26:10 UTC 2006


> * Replaced trigger_error() on fsockopen failure with a return status 
> code. This allows your script to handle the error instead of having 
> execution halt and your visitor seeing an ugly PHP error message. 

I use set_error_handler('error_report'); to handle the trigger_errors. I have an event log on my blog system, any errors thrown are inserted into the database.

Have a look at the code if you like. My program can be downloaded here:
http://download.bluetrait.com/latest.zip

Thanks,
Michael.



More information about the spam-stopper mailing list