Logging in by typing text in a graphic

This is a demonstration (with full source code available) showing how you can write / run a PHP application to get your users to validate their presence by re-typing the text in a graphic. Such techniques are know as Captcha (Completely Automated Public Turing Test to Tell Computers and Humans Apart).

Page 1 of 3



Please enter the word you see


This demonstration provides a human-identifying login capability via a graphic. Users are required to copy a string on 3 to 7 letters that are displayed. Although the strings offered are letters only and all upper case, the code accepts lower case inputs, and also 0 for O and 1 for I.

Once logged in, all you'll see will be an echo application - this is a demonstration of the 'real' user identification technology.

Demonstration by Graham Ellis of Well House Consultants

Source code - this page and graphic generator script

If you use the source code of this demonstration on your site, please provide a link back to us. See here