3 Securimage - A PHP class for creating and managing form CAPTCHA images
9 Drew Phillips <drew@drew-phillips.com>
13 The latest version can always be
14 found at http://www.phpcaptcha.org
18 Online documentation of the class, methods, and variables can
19 be found at http://www.phpcaptcha.org/Securimage_Docs/
24 FreeType (optional, required for TTF support)
28 require_once 'securimage.php';
30 $image = new Securimage();
36 $image = new Securimage();
37 if ($image->check($_POST['code']) == true) {
40 echo "Sorry, wrong code.";
47 Securimage is a PHP class that is used to generate and validate CAPTCHA images.
48 The classes uses an existing PHP session or creates its own if none is found to store the
49 CAPTCHA code. Variables within the class are used to control the style and display of the image.
50 The class supports TTF fonts and effects for strengthening the security of the image.
51 If TTF support is not available, GD fonts can be used as well, but certain options such as
52 transparent text and angled letters cannot be used.
56 Copyright (c) 2007 Drew Phillips. All rights reserved.
57 This software is released under the GNU Lesser General Public License.