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
- Copyright:
- Copyright 2010-2011, Benjamin Delespierre (http://bdelespierre.fr)
-
http://www.gnu.org/licenses/lgpl.html Lesser General Public Licence version 3