PHP Classes

Flood Assassin: Check whether a message can be spam

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 755 All time: 4,467 This week: 455Up
Version License PHP version Categories
floodassassin 0.1GNU General Publi...5.0PHP 5, Text processing, Content manag...
Description 

Author

This class can be used to determine whether a message can be spam.

It takes as arguments the title, text, e-mail address and IP address of the submitter.

The class analyses the supplied arguments according to several built-in rules and returns an array with an overall score that can be used to determine whether the message should be treated as spam.

The result array also details how the message scored in different types of rules that were evaluated.

Innovation Award
PHP Programming Innovation award nominee
November 2008
Number 5


Prize: One downloadable copy of Komodo IDE
Many spam filter solutions only consider patterns of the text to be analyzed to determine whether it is spam or not.

This class provides a spam analyzer solution in pure PHP. It considers not only the patterns of the text to be analyzed, but also other factors such as the submitter e-mail and IP address.

Manuel Lemos
Picture of Benjamin Falk
Name: Benjamin Falk <contact>
Classes: 3 packages by
Country: Austria Austria
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file floodassassin.php Class FloodAssassin class
Accessible without login Plain text file dummy.sql Data SQL-Dummy (for basic rules)
Accessible without login Plain text file LICENSE Lic. GPL License
Accessible without login Plain text file tutorial.txt Doc. Just a quick tutorial
Accessible without login Plain text file update-dummy.sql Data For updating the old version

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:755
This week:0
All time:4,467
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2649