ILIAS
release_4-3 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
securimage_show_example2.php
Go to the documentation of this file.
1
<?php
2
47
require_once dirname(__FILE__) .
'/securimage.php'
;
48
49
$img
=
new
Securimage
();
50
51
//Change some settings
52
$img
->image_width = 280;
53
$img
->image_height = 100;
54
$img
->perturbation = 0.9;
// high level of distortion
55
$img
->code_length = rand(5,6);
// random code length
56
$img
->image_bg_color =
new
Securimage_Color
(
"#ffffff"
);
57
$img
->num_lines = 12;
58
$img
->noise_level = 5;
59
$img
->text_color =
new
Securimage_Color
(
"#000000"
);
60
$img
->noise_color =
$img
->text_color;
61
$img
->line_color =
new
Securimage_Color
(
"#cccccc"
);
62
63
$img
->show();
Services
Captcha
lib
securimage_3_0_1
securimage_show_example2.php
Generated on Sat Apr 30 2016 19:00:53 for ILIAS by
1.8.1.2 (using
Doxyfile
)