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
Not enough user ratingsTotal: 556 This week: 1All time: 5,391 This week: 260Up
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: 3084227 in Brazil Brazil
Week rank: 270 Up15 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:556
This week:1
All time:5,391
This week:260Up
User Comments (2)
 

For more information send a message to info at phpclasses dot org.