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

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


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Giorgos  >  Form Spam Bot Blocker  >  Download Download .zip .tar.gz  >  Support forum Support forum (8)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Form Spam Bot Blocker
Base name: fsbb
Description: Generate forms that prevent submission by robots
Version: 0.1
PHP version: 4.0
License: GNU Lesser General Public License (LGPL)
All time users: 3920 users
All time rank: 731
Week users: 1 user
Week rank: 1508 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Validation Validation algorithms View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (89%) Good (89%) Good (81%) Good (82%) - - Sufficient (69%) 211
Month: Not yet rated by the users

  Pages that reference this package  
Stop bots from submitting contact forms
have been using this code for a while and it seems to work but i donít think it is 100% infallible...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Install with Composer Install with Composer - Download Download all files: fsbb.tar.gz fsbb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.