Text_CAPTCHA

Implémentation des CAPTCHA (Completely Automated Public Turing tests to tell Computers and Humans Apart).

Introduction

Ce paquet fourni les fonctionnalités pour créer un CAPTCHAs (Completely Automated Public Turing tests to tell Computers and Humans Apart). Les fonctionnalités proposées sont:

The package creates CAPTCHAs; due to the stateless nature of the HTTP protocol, the logic to secure a webpage using the package must be specifically implemented. Regardez l'exemple d'utilisation pour des informations détaillées.

Pour le moment, le driver graphique CAPTCHA dépend de Image_Text qui lui même requiert le support TTF qui doit être compilé en dans le PHP.

Exemple

L'exemple qui suit implémente l'utilisation commune d'un CAPTCHA: Soumettre un formulaire de donnée qui ne sera pris en compte que si le CAPTCHA a correctement été résolu.

Information about the CAPTCHA and inner workings

Text_CAPTCHA provides information about the CAPTCHA and makes its inner workings accessible using several functions defined in the base class; the specific implementation of them is up to the driver.