This class can be used to generate images for CAPTCHA validation.
It generates an image with a random validation text. The image has some lines and shapes rendered in a different color to obfuscate the text.
The width and height of the image, and the length and the font of the text are configurable details.
The image text is stored in a session variable for posterior validation.
The generated image is served as the current script output in the JPEG format.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (75.0%) |
Sufficient (75.0%) |
- |
Sufficient (66.7%) |
- |
- |
Not sure (51.7%) |
1212 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| File |
Role |
Description |
demo.php |
Example |
demo on using captcha.php class |
captcha.php |
Class |
main includes for img tags |