$audio_format =
[line 336]
Type of audio file to generate (mp3 or wav)
$audio_path =
[line 329]
Full path to the WAV files to use to make the audio files, include trailing /.
Name Files [A-Z0-9].wav
Tags:
$background_directory = null
[line 236]
Scan this directory for gif, jpg, and png files to use as background images.
A random image file will be picked each time.
Change from null to the full path to your directory.
i.e. var $background_directory = $_SERVER['DOCUMENT_ROOT'] . '/securimage/backgrounds'; Make sure not to pass a background image to the show function, otherwise this directive is ignored.
$charset =
[line 133]
The character set for individual characters in the image.
Letters are converted to uppercase.
The font must support the letters or there may be problematic substitutions.
$code_length =
[line 124]
The length of the code to generate.
$draw_lines_over_text =
[line 304]
Draw the lines over the text.
If fales lines will be drawn before putting the text on the image.
$gd_font_file =
[line 157]
Note: Use of GD fonts is not recommended as many distortion features are not available
The GD font to use.
Internal gd fonts can be loaded by their number.
Alternatively, a file path can be given and the font will be loaded from file.
$gd_font_size =
[line 166]
The approximate size of the font in pixels.
This does not control the size of the font because that is determined by the GD font itself.
This is used to aid the calculations of positioning used by this class.
$image_bg_color =
[line 225]
The background color for the image as a Securimage_Color.
$image_height =
[line 109]
The desired width of the CAPTCHA image.
$image_signature =
[line 312]
Text to write at the bottom corner of captcha image
Tags:
$image_type =
[line 117]
The image format for output.
Valid options: SI_IMAGE_PNG, SI_IMAGE_JPG, SI_IMAGE_GIF
$image_width =
[line 102]
The desired width of the CAPTCHA image.
$line_color =
[line 296]
Color of lines drawn over text
$multi_text_color =
[line 261]
Array of Securimage_Colors which will be randomly selected for each letter.
$num_lines =
[line 289]
Draw vertical and horizontal lines on the image.
Tags:
$perturbation =
[line 190]
How much to distort image, higher = more distortion.
Distortion is only available when using TTF fonts.
$session_name = ''
[line 345]
The session name to use if not the default. Blank for none
Tags:
$signature_color =
[line 320]
Color to use for writing signature text
Tags:
$text_angle_maximum =
[line 209]
The minimum angle in degrees, with 0 degrees being left-to-right reading text.
Higher values represent a counter-clockwise rotation.
For example, a value of 90 would result in bottom-to-top reading text.
$text_angle_minimum =
[line 200]
The minimum angle in degrees, with 0 degrees being left-to-right reading text.
Higher values represent a counter-clockwise rotation.
For example, a value of 90 would result in bottom-to-top reading text.
This value along with maximum angle distance do not need to be very high with perturbation
$text_color =
[line 246]
The text color to use for drawing characters as a Securimage_Color.
This value is ignored if $use_multi_text is set to true.
Make sure this contrasts well with the background color or image.
Tags:
$text_transparency_percentage =
[line 278]
The percentage of transparency, 0 to 100.
A value of 0 is completely opaque, 100 is completely transparent (invisble)
Tags:
$text_x_start =
[line 218]
The X-Position on the image where letter drawing will begin.
This value is in pixels from the left side of the image.
Tags:
$ttf_file =
[line 182]
The path to the TTF font file to load.
$use_gd_font =
[line 173]
Use a gd font instead of TTF
Tags:
$use_multi_text =
[line 254]
Set to true to use multiple colors for each character.
Tags:
$use_transparent_text =
[line 269]
Set to true to make the characters appear transparent.
Tags:
$use_wordlist = false
[line 147]
Use wordlist of not
Tags:
$wordlist_file =
[line 140]
Create codes using this word list
Tags: