Login   Register  
PHP Classes
elePHPant
Icontem

Form Spam Bot Blocker: Generate forms that prevent submission by robots

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-05-03 (7 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 3,924 This week: 2All time: 738 This week: 954Down
Version License PHP version Categories  
fsbb 0.1GNU Lesser General Publ...4.0HTML, Validation, Security
Description Author  

This class can be generate forms that prevent submission by spam robots without requiring human users to enter special values.

It generates hidden inputs for forms that have special values that are verified on the server after the form is submitted to eventually detect whether the form was sent by a spam robot.

The class can generate an hidden input that contains an encoded value of the user browser, user computer IP address and the current time.

The class verifies whether these browser name and IP address are still the same, and also whether the form is being submitted by a normal time interval after it was create, like when it is submitted by a real human user.

The class also generates a text input that are invisible for the user. A human user would not fill this input. If the input is submitted with a value, it was certainly a robot.

When the class detects a situation that demonstrates the form was submitted by a robot, the application should not accept the form submission.

Innovation Award  
PHP Programming Innovation award nominee
April 2007
Number 3


Prize: One downloadable copy of Komodo Pro
More and more people have been using robots to make abusive use of Web sites. Usually robots pretend to be real users, or make unauthorized copies of whole sites, or even causing excessive to the site servers.

Many sites have implemented measures to halt robots like using CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) validation forms. However, this kind of validation is usually a little annoying to the users.

This class implements other measures that may help detecting when robots are using Web forms without being too intrusive to the users.

This way the users are usually not aware of the measures that have been implemented to halt robots, but not real humans.

Manuel Lemos
Picture of Giorgos
Name: Giorgos <contact>
Classes: 7 packages by
Country: Greece Greece
Age: 36
All time rank: 121 in Greece Greece
Week rank: 77 Down1 in Greece Greece Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file fsbb.php Class the class source
Accessible without login Plain text file readme.txt Doc. the doc file
Accessible without login Plain text file example.php Example an example of a protected web form
Accessible without login Plain text file action.php Example an example of a protected form submission

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,924All time:738
 This week:2This week:954Down
User Ratings User Comments (1)  
 All time
Utility:89%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:82%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:214
 
Outstanding!
6 years ago (David K. Lynn)
80%StarStarStarStarStar