3
* Little Software Stats
5
* An open source program that allows developers to keep track of how their software is being used
7
* @package Little Software Stats
9
* @copyright Copyright (c) 2011, Little Apps
10
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License v3
11
* @link http://little-apps.org
17
* Project: Securimage: A PHP class for creating and managing form CAPTCHA images<br />
18
* File: securimage_show.php<br />
20
* This library is free software; you can redistribute it and/or
21
* modify it under the terms of the GNU Lesser General Public
22
* License as published by the Free Software Foundation; either
23
* version 2.1 of the License, or any later version.<br /><br />
25
* This library is distributed in the hope that it will be useful,
26
* but WITHOUT ANY WARRANTY; without even the implied warranty of
27
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28
* Lesser General Public License for more details.<br /><br />
30
* You should have received a copy of the GNU Lesser General Public
31
* License along with this library; if not, write to the Free Software
32
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA<br /><br />
34
* Any modifications to the library should be indicated clearly in the source code
35
* to inform users that the changes are not a part of the original software.<br /><br />
37
* If you found this script useful, please take a quick moment to rate it.<br />
38
* http://www.hotscripts.com/rate/49400.html Thanks.
40
* @link http://www.phpcaptcha.org Securimage PHP CAPTCHA
41
* @link http://www.phpcaptcha.org/latest.zip Download Latest Version
42
* @link http://www.phpcaptcha.org/Securimage_Docs/ Online Documentation
43
* @copyright 2009 Drew Phillips
44
* @author drew010 <drew@drew-phillips.com>
45
* @version 2.0.1 BETA (December 6th, 2009)
50
include 'securimage.php';
52
$img = new securimage();
54
// Change some settings
56
//$img->image_width = 275;
57
//$img->image_height = 90;
58
//$img->perturbation = 0.9; // 1.0 = high distortion, higher numbers = more distortion
59
//$img->image_bg_color = new Securimage_Color("#0099CC");
60
//$img->text_color = new Securimage_Color("#EAEAEA");
61
//$img->text_transparency_percentage = 65; // 100 = completely transparent
62
//$img->num_lines = 8;
63
//$img->line_color = new Securimage_Color("#0000CC");
64
//$img->signature_color = new Securimage_Color(rand(0, 64), rand(64, 128), rand(128, 255));
65
//$img->image_type = SI_IMAGE_PNG;
68
$img->show(); // alternate use: $img->show('/path/to/background_image.jpg');