Regístrate!
GONZO Mia Intimidades Chat Ocio Hosting Tarot Alarmas Hoteles Poesías

Animal Captcha 1.2, a graphical spam control

Spanish | English

Description:

elefanteAnimal Captcha is a PHP program created for web developers who need a secure spam control for HTML forms. It displays a random image picked from a list of animals which only humans can recognize.


Advantages
:

  • Nice look: better than an ugly alphanumeric string.
  • Fast: users can identify an animal faster than several mixed letters.
  • Effective: less wrong answers.
  • Secure: the main reason. Some alphanumeric captchas you can find on the Internet are really difficult to be recognized by a bot, but with an animal it’s almost impossible!
  • Multi-language: available in some languages, multiple valid names for each animal.


Documentation:

Animal Captcha is divided into two PHP files and one folder containing some images.

  • animal-captcha.php - Returns a random image and saves the name of the animal in a session variable for being checked later.
  • animal-captcha-check.php - It defines animal_captcha_check() function. It returns true if user answer is OK, and false if it’s wrong.
  • Folder images - They must be JPG format, a 120×120 px size, showing a very common animal which everybody knows. Names are composed with some words separated by dashes. Each word represents a valid answer for the same animal (eg: cerdo-pig-porc.jpg).

By this way you can easily adding new languages or solving problems about animals which have some different names.

Histograma test passed.


Download
:

Published under Creative Commons 3.0 license. You can use or modify all you want, but you must attribute the work to the original author: GONZO (Javier González), of Blogs Teoriza.


Sorry about my bad English, i hope it will be useful!

  1. #1 Animal Captcha 1.2, nueva versión mejorada la seguridad de aleatorización y pequeños bugs :: GONZO - 19 December 2008 15:17

    […] Español | Inglés […]


(será privado)
(opcional)