This script generates images for CAPTCHA ( Completely Automated Public Turing test to tell Computers from Humans Apart ) validation tests, make coded string and compare users input.
It generates an image with a random sequence of letters over a grid of lines, they are rendered in configurable colors. Each letter is rendered with a random font from array.
This script was made as simple as only possible. It doesn't require any additional libraries or user session, it use only common PHP functions. This simplicity is helpful in case your hosting has lack of abilities.
What was it made for?
With the help of CAPTCHA test you may prevent unwonted form submission and secure your forms from automated programs.
- most humans can read distorted text and pass this test.
- current computer programs cannot pass this test
PS. Script package comes without TTF Fonts, just upload your fonts into src folder and define them in config.php
To see script in action
click here