Axiom (v1.2.0)

A lightweight PHP framework
axCatpcha Class Reference

Textual captcha generator. More...


Detailed Description

Textual captcha generator.

Provides text captcha management. Text captcha are simple question a bot could not possibly answer, thus protects a form from non-human users. Question are defined in dictionnaries which are ini files passed to the constructor.

Question can be static or dynamic:

  • static question accepts a set of possible results as answers like
    Q: What is the capital of China
    A: pekin or beijing are both valid answers question accepts only one possible answer, the question parameters are randomly generated like
    Q: What is 1 + 2 ?
    A: 3
Todo:
Describe the configuration parameter over the controller
Note:
The captcha library stores the answser information over the user's session, if no session is started when calling axCaptcha::generate(), it will be started.
Author:
Delespierre

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables