PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2012-03-30 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 394 All time: 6,299 This week: 828Up
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
Name: Nguyen Duc Thuan <contact>
Classes: 2 packages by
Country: Viet Nam Viet Nam
Innovation award
Innovation award
Nominee: 1x

  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:394
This week:0
All time:6,299
This week:828Up