PHP Classes

AntiBot an alternative to CAPTCHA: Perform CAPTCHA validation asking questions

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 570 All time: 5,374 This week: 107Up
Version License PHP version Categories
antibot 3.5GNU Lesser Genera...4.3Validation, Security
Description 

Author

This class can be used to perform CAPTCHA validation asking questions to the user.

It can generate a question from a list of few possibilities picking random values of colors or numbers.

The correct answer is stored in a session variable for subsequent verification.

Picture of Andre Roc
Name: Andre Roc <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 3122229 in Brazil Brazil
Week rank: 312 Up26 in Brazil Brazil Up

Details

======================= USAGE ======================= 1. Outputting random answers <?php new AntiBot(true,true); ?> 2. Outputting only one specific answer type (#3) <?php new AntiBot(true,false,3); ?> 3. Do not output information, create object to check responses <?php $ab = new AntiBot(false); if( $ab->verificaResposta( $_POST['usr-response'] ) ){ // ok, valid response }else{ // wrong, you are a machine! } ?> 4. Default configuration outputs random answers <?php new AntiBot(); ?> ======================= FILES ======================= class.AntiBot.php (Class on english) class2.AntiBot.php (Class on portuguese) COPYING (GNU/GPL License) COPYING.LESSER (GNU/LGPL License) index.php (Exemple) ======================= LICENSE ======================= GNU LESSER GENERAL PUBLIC LICENSE (see COPYING.LESSER file)

Screenshots  
  • ss.png
  Files folder image Files  
File Role Description
Plain text file class.AntiBot.php Class Main class in english
Plain text file classe.AntiBot.php Class Main class in portuguese
Plain text file COPYING Lic. GPL license file
Plain text file COPYING.LESSER Lic. LGPL license file
Plain text file index.php Example Example script
Plain text file README Doc. README file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:570
This week:0
All time:5,374
This week:107Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:66%StarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:666