Creates a captcha image. More...
Go to the source code of this file.
Functions | |
hex2rgb ($hex) | |
Variables | |
$fontSize = 12 | |
holds default font size More... | |
$fontName = 'font/Verdana_Italic.ttf' | |
holds default font name More... | |
$fontColor = array(255, 255, 255) | |
holds default font color More... | |
$height = 35 | |
holds default height More... | |
$width = 75 | |
holds default width More... | |
Creates a captcha image.
Creates a captcha image. The color of the text displayed in the captcha can be set with the GET-variable color= followed by a 6 characters long hexadeximal description of the desired color.
This file is based on captcha.php from UserCake (Version 2.0.2) with modifications by Daniel Seichter
This file has no dependencies.
Definition in file captcha.php.
hex2rgb | ( | $hex) |
Converts a hex color string to an array with decimal RGB values
mixed | $hex | hex color string |
Definition at line 31 of file captcha.php.
$fontColor = array(255, 255, 255) |
holds default font color
Definition at line 55 of file captcha.php.
$fontName = 'font/Verdana_Italic.ttf' |
holds default font name
Definition at line 52 of file captcha.php.
$fontSize = 12 |
holds default font size
Definition at line 49 of file captcha.php.
$height = 35 |
$width = 75 |