@param: {INT} $numchars: The number of glyphs (characters) the captcha will contain
@param: {INT} $width: The width of the captcha
@param: {INT} $height: The height of the captcha
@param: {MIXED} $difficulty: The difficulty of the captcha to generate ; Valid values are: -1 = very easy ; 0 = easy (default) ; 1 = moderate ; 2 = hard ; 3 = very hard ; alternate can be an array of settings
Class constructor
publicfunctiondraw_image (
) {} -> STRING
@return: {STRING} The Captcha SVG (Vector) Image
Generate the code and the SVG Image
publicfunctionget_code (
) {} -> STRING
@return: {STRING} The Captcha generated code
Get the generated code
Must be call only after draw_image()
class Properties
class Constants
documentation generated on: 2023-10-19 23:15:52 +0000
Create a Form Captcha Validation Vector Image (SVG)