Login   Register  
PHP Classes
elePHPant
Icontem

Named Buttons Captcha: Show a CAPTCHA image with validation questions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 388 All time: 5,932 This week: 1,524Up
Version License PHP version Categories  
namedbuttons-captcha 0.9.0BSD License5.2PHP 5, Graphics, Validation, Security
Description Author  
PHP Programming Innovation award nominee
April 2012
Number 5


Prize: One copy of the Zend Studio
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.
Picture of Nguyen Duc Thuan
Name: Nguyen Duc Thuan <contact>
Classes: 2 packages by
Country: Viet Nam Viet Nam
Age: 27
All time rank: 24438 in Viet Nam Viet Nam
Week rank: 1076 Up3 in Viet Nam Viet Nam Up
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

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
 Version Control Unique User Downloads Download Rankings  
 100%Total:388All time:5,932
 This week:0This week:1,524Up