source: extensions/CryptograPHP/securimage/README.txt @ 14634

Last change on this file since 14634 was 12617, checked in by mistic100, 13 years ago

rewrite some prefilters, replace CryptograPHP by Securimage (not abandoned project!)

File size: 3.9 KB
Line 
1NAME:
2
3    Securimage - A PHP class for creating captcha images and audio with many options.
4
5VERSION: 3.0
6
7AUTHOR:
8
9    Drew Phillips <drew@drew-phillips.com>
10
11DOWNLOAD:
12
13    The latest version can always be
14    found at http://www.phpcaptcha.org
15
16DOCUMENTATION:
17
18    Online documentation of the class, methods, and variables can
19    be found at http://www.phpcaptcha.org/Securimage_Docs/
20
21REQUIREMENTS:
22    PHP 5.2 or greater
23    GD  2.0
24    FreeType (Required, for TTF fonts)
25
26SYNOPSIS:
27
28    require_once 'securimage.php';
29
30    $image = new Securimage();
31
32    $image->show();
33
34    // Code Validation
35
36    $image = new Securimage();
37    if ($image->check($_POST['code']) == true) {
38      echo "Correct!";
39    } else {
40      echo "Sorry, wrong code.";
41    }
42
43DESCRIPTION:
44
45    What is Securimage?
46
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    An audible code can also be streamed to the browser for visually impared users.
52
53
54COPYRIGHT:
55    Copyright (c) 2011 Drew Phillips
56    All rights reserved.
57
58    Redistribution and use in source and binary forms, with or without modification,
59    are permitted provided that the following conditions are met:
60
61    - Redistributions of source code must retain the above copyright notice,
62      this list of conditions and the following disclaimer.
63    - Redistributions in binary form must reproduce the above copyright notice,
64      this list of conditions and the following disclaimer in the documentation
65      and/or other materials provided with the distribution.
66
67    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
68    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
69    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
70    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
71    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
72    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
73    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
74    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
75    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
76    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
77    POSSIBILITY OF SUCH DAMAGE.
78
79    -----------------------------------------------------------------------------
80    Flash code created for Securimage by Mario Romero (animario@hotmail.com)
81    Many thanks for releasing this to the project!
82
83    ------------------------------------------------------------------------------
84    Portions of Securimage contain code from Han-Kwang Nienhuys' PHP captcha
85       
86    Han-Kwang Nienhuys' PHP captcha
87    Copyright June 2007
88   
89    This copyright message and attribution must be preserved upon
90    modification. Redistribution under other licenses is expressly allowed.
91    Other licenses include GPL 2 or higher, BSD, and non-free licenses.
92    The original, unrestricted version can be obtained from
93    http://www.lagom.nl/linux/hkcaptcha/
94   
95    -------------------------------------------------------------------------------
96    AHGBold.ttf (AlteHaasGroteskBold.ttf) font was created by Yann Le Coroller and is distributed as freeware
97   
98    Alte Haas Grotesk is a typeface that look like an helvetica printed in an old Muller-Brockmann Book.
99   
100    These fonts are freeware and can be distributed as long as they are
101    together with this text file.
102   
103    I would appreciate very much to see what you have done with it anyway.
104   
105    yann le coroller
106    www.yannlecoroller.com
107    yann@lecoroller.com
108
Note: See TracBrowser for help on using the repository browser.