Sunday, December 21, 2008

PHP > Sample Guest Book With Spam Filter

This class can automatically classify text messages to determine whether or not their are considered to be spam.

It can build a knowledge base of known text expressions that can be looked up later to evaluate a factor that expresses the probability of a given text to be spam.

This class could be used in Web mail applications or even in less obvious applications like forums and guest books, acting like an semi-automatic moderator.

Download : SpamFilter.zip [ mirror ]

Other Popular Guestbooks
This method takes all of the POST content, creates a single string, and runs it through SLV. It also removes your host name from the input in case you are passing on a variable such as a thank you page. I have implemented it on several popular guestbooks. I have not tested the code though, it may need some tweaks.

Reference :
- www.phpclasses.org
- www.linksleeve.org

Seja o primeiro a comentar

Post a Comment

Latest Comments

About Me

My photo
Makassar, Sulawesi Selatan, Indonesia

Guest Book


ShoutMix chat widget

Script Sense ©Template Blogger Green by Dicas Blogger.

TOPO