A Simple PHP Captcha Script: Captcha_lite

ComputersPublished May 11, 2010 at 3:34 pm No Comments

Last night I created a simple captcha script that is more than secure enough for most applications. It consists of three scripts: index.php, which contains a sample form, process.php, which validates the form, and captcha_lite.php, which creates the captcha.

Demo | Download scripts and images

Features:

  • Lightweight, well-commented scripts
  • No need for a MySQL database
  • You can use your own images
  • You can choose how many digits appear in the captcha

For your convenience, here are the scripts in .txt format. To get the images you’ll still have to download the .zip archive.

index.php | process.php | captcha_lite.php

I hope this is helpful for you. Please give me some feedback!

Tags: , , , ,

Leave a Reply

(required)

(required)