Graphics: KG CAPTCHA Class
Muharrem ERIN (contact me)
This class can be used to generate images for CAPTCHA validation.
It renders a random text with letters and digits in an image. The rendered text is stored in a session variable for posterior validation.
The generated image may have a random background image rendered behind the text.
The length of the validation text, the colors, and text fonts are configurable.
The validation image can be generated in the GIF, PNG or JPEG formats as the current script output.
Click here for detailed information about this class on phpclasses.org
Output
background image 1
Output
Background image 2
Example
create image file