forked from inclusive-design/AChecker
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue-4933: Added the CAPTCHA verification onto registration page.
- Loading branch information
Showing
51 changed files
with
1,805 additions
and
268 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
NAME: | ||
|
||
Securimage - A PHP class for creating and managing form CAPTCHA images | ||
|
||
VERSION: 1.0.2 | ||
|
||
AUTHOR: | ||
|
||
Drew Phillips <drew@drew-phillips.com> | ||
|
||
DOWNLOAD: | ||
|
||
The latest version can always be | ||
found at http://www.phpcaptcha.org | ||
|
||
DOCUMENTATION: | ||
|
||
Online documentation of the class, methods, and variables can | ||
be found at http://www.phpcaptcha.org/Securimage_Docs/ | ||
|
||
REQUIREMENTS: | ||
PHP 4.3.0 | ||
GD 2.0 | ||
FreeType (optional, required for TTF support) | ||
|
||
SYNOPSIS: | ||
|
||
require_once 'securimage.php'; | ||
|
||
$image = new Securimage(); | ||
|
||
$image->show(); | ||
|
||
// Code Validation | ||
|
||
$image = new Securimage(); | ||
if ($image->check($_POST['code']) == true) { | ||
echo "Correct!"; | ||
} else { | ||
echo "Sorry, wrong code."; | ||
} | ||
|
||
DESCRIPTION: | ||
|
||
What is Securimage? | ||
|
||
Securimage is a PHP class that is used to generate and validate CAPTCHA images. | ||
The classes uses an existing PHP session or creates its own if none is found to store the | ||
CAPTCHA code. Variables within the class are used to control the style and display of the image. | ||
The class supports TTF fonts and effects for strengthening the security of the image. | ||
If TTF support is not available, GD fonts can be used as well, but certain options such as | ||
transparent text and angled letters cannot be used. | ||
|
||
|
||
COPYRIGHT: | ||
Copyright (c) 2007 Drew Phillips. All rights reserved. | ||
This software is released under the GNU Lesser General Public License. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.