noalyss Version-9
Namespaces | Variables
securimage_show_example.php File Reference

Go to the source code of this file.

Namespaces

namespace  Securimage
 Project: Securimage: A PHP class for creating and managing form CAPTCHA images
File: securimage.php

 

Variables

 $img = new securimage()
 
$img image_bg_color = new Securimage_Color("#f6f6f6")
 
$img image_height = 80
 
$img image_signature = 'phpcaptcha.org'
 
$img image_width = 250
 
$img line_color = new Securimage_Color("#eaeaea")
 
$img multi_text_color
 
$img num_lines = 7
 
$img perturbation = 0.85
 
$img signature_color = new Securimage_Color(rand(0, 64), rand(64, 128), rand(128, 255))
 
$img text_angle_maximum = 5
 
$img text_angle_minimum = -5
 
$img text_transparency_percentage = 30
 
$img use_multi_text = true
 
$img use_transparent_text = true
 
$img use_wordlist = true
 

Variable Documentation

◆ $img

$img = new securimage()

Definition at line 39 of file securimage_show_example.php.

◆ image_bg_color

$img image_bg_color = new Securimage_Color("#f6f6f6")

◆ image_height

$img image_height = 80

Definition at line 43 of file securimage_show_example.php.

◆ image_signature

$img image_signature = 'phpcaptcha.org'

◆ image_width

$img image_width = 250

Definition at line 42 of file securimage_show_example.php.

◆ line_color

$img line_color = new Securimage_Color("#eaeaea")

Definition at line 58 of file securimage_show_example.php.

◆ multi_text_color

$img multi_text_color
Initial value:
= array(new Securimage_Color("#3399ff"),
new Securimage_Color("#3300cc"),
new Securimage_Color("#3333cc"),
new Securimage_Color("#6666ff"),
new Securimage_Color("#99cccc")
)

Definition at line 46 of file securimage_show_example.php.

Referenced by Securimage\__construct(), Securimage\allocateColors(), and Securimage\drawWord().

◆ num_lines

$img num_lines = 7

Definition at line 57 of file securimage_show_example.php.

◆ perturbation

$img perturbation = 0.85

Definition at line 44 of file securimage_show_example.php.

◆ signature_color

$img signature_color = new Securimage_Color(rand(0, 64), rand(64, 128), rand(128, 255))

◆ text_angle_maximum

$img text_angle_maximum = 5

Definition at line 54 of file securimage_show_example.php.

Referenced by Securimage\__construct(), and Securimage\drawWord().

◆ text_angle_minimum

$img text_angle_minimum = -5

Definition at line 53 of file securimage_show_example.php.

Referenced by Securimage\__construct(), and Securimage\drawWord().

◆ text_transparency_percentage

$img text_transparency_percentage = 30

Definition at line 56 of file securimage_show_example.php.

◆ use_multi_text

$img use_multi_text = true

Definition at line 52 of file securimage_show_example.php.

◆ use_transparent_text

$img use_transparent_text = true

◆ use_wordlist

$img use_wordlist = true

Definition at line 61 of file securimage_show_example.php.

Referenced by Securimage\__construct(), and Securimage\createCode().