PHP Classes

Named Buttons Captcha: Show a CAPTCHA image with validation questions

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 401 This week: 1All time: 6,555 This week: 571Up
Version License PHP version Categories
namedbuttons-captcha 0.9.0BSD License5.2PHP 5, Graphics, Validation, Security
Description 

Author

This package can show a CAPTCHA image with validation question and answers.

It can generate an image with message that presents a question that the user needs to answer to pass the CAPTCHA validation challenge.

The main class also generates button images with text that present different answers for the challenge question.

The correct answer is stored in one of several possible containers for subsequent validation. Currently it provides container classes for storing answers in session variables or APC cache keys.

The challenge question and answers are redefinable. The presentation of the question and answer is defined by custom template scripts.

Innovation Award
PHP Programming Innovation award nominee
April 2012
Number 5


Prize: One copy of the Zend Studio
CAPTCHA validation is often used to prevent automated access of robot scripts to sites that are intended to be accessed only by real human users.

Most solutions tend to challenge the user by asking him to respond to a question, which often is something written or drawn in a graphical image.

This class goes further and makes it more difficult for robots to break by presenting either the challenge and the possible responses as images.

Manuel Lemos
Picture of Nguyen Duc Thuan
Name: Nguyen Duc Thuan <contact>
Classes: 3 packages by
Country: Viet Nam Viet Nam
Age: 36
All time rank: 252110 in Viet Nam Viet Nam
Week rank: 103 Up2 in Viet Nam Viet Nam Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagelib (3 files, 1 directory)
Accessible without login Plain text file example-color.php Example Example script
Accessible without login Plain text file example-default.php Example Unit test script
Accessible without login Plain text file example-no-image.php Example Example script
Accessible without login Plain text file example-questions.php Example Unit test script

  Files folder image Files  /  lib  
File Role Description
Files folder imageNamedButtonsCaptcha (1 directory)
  Plain text file NamedButtonsCaptcha.php Class Class source
  Accessible without login Plain text file template.php Conf. Configuration script
  Accessible without login Plain text file template2.php Conf. Configuration script

  Files folder image Files  /  lib  /  NamedButtonsCaptcha  
File Role Description
Files folder imageKeyStorage (3 files)

  Files folder image Files  /  lib  /  NamedButtonsCaptcha  /  KeyStorage  
File Role Description
  Plain text file Abstract.php Class Class source
  Plain text file Apc.php Class Class source
  Plain text file Session.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 0%
Total:401
This week:1
All time:6,555
This week:571Up