Skip to content

Commit

Permalink
Issue-4933: Added the CAPTCHA verification onto registration page.
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyli committed Nov 25, 2011
1 parent 94be573 commit 131e762
Show file tree
Hide file tree
Showing 51 changed files with 1,805 additions and 268 deletions.
458 changes: 458 additions & 0 deletions include/securimage/LICENSE.txt

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions include/securimage/README.txt
@@ -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 added include/securimage/audio/0.wav
Binary file not shown.
Binary file added include/securimage/audio/1.wav
Binary file not shown.
Binary file added include/securimage/audio/2.wav
Binary file not shown.
Binary file added include/securimage/audio/3.wav
Binary file not shown.
Binary file added include/securimage/audio/4.wav
Binary file not shown.
Binary file added include/securimage/audio/5.wav
Binary file not shown.
Binary file added include/securimage/audio/6.wav
Binary file not shown.
Binary file added include/securimage/audio/7.wav
Binary file not shown.
Binary file added include/securimage/audio/8.wav
Binary file not shown.
Binary file added include/securimage/audio/9.wav
Binary file not shown.
Binary file added include/securimage/audio/A.wav
Binary file not shown.
Binary file added include/securimage/audio/B.wav
Binary file not shown.
Binary file added include/securimage/audio/C.wav
Binary file not shown.
Binary file added include/securimage/audio/D.wav
Binary file not shown.
Binary file added include/securimage/audio/E.wav
Binary file not shown.
Binary file added include/securimage/audio/F.wav
Binary file not shown.
Binary file added include/securimage/audio/G.wav
Binary file not shown.
Binary file added include/securimage/audio/H.wav
Binary file not shown.
Binary file added include/securimage/audio/I.wav
Binary file not shown.
Binary file added include/securimage/audio/J.wav
Binary file not shown.
Binary file added include/securimage/audio/K.wav
Binary file not shown.
Binary file added include/securimage/audio/L.wav
Binary file not shown.
Binary file added include/securimage/audio/M.wav
Binary file not shown.
Binary file added include/securimage/audio/N.wav
Binary file not shown.
Binary file added include/securimage/audio/O.wav
Binary file not shown.
Binary file added include/securimage/audio/P.wav
Binary file not shown.
Binary file added include/securimage/audio/Q.wav
Binary file not shown.
Binary file added include/securimage/audio/R.wav
Binary file not shown.
Binary file added include/securimage/audio/S.wav
Binary file not shown.
Binary file added include/securimage/audio/T.wav
Binary file not shown.
Binary file added include/securimage/audio/U.wav
Binary file not shown.
Binary file added include/securimage/audio/V.wav
Binary file not shown.
Binary file added include/securimage/audio/W.wav
Binary file not shown.
Binary file added include/securimage/audio/X.wav
Binary file not shown.
Binary file added include/securimage/audio/Y.wav
Binary file not shown.
Binary file added include/securimage/audio/Z.wav
Binary file not shown.
Binary file added include/securimage/elephant.ttf
Binary file not shown.
Binary file added include/securimage/gdfonts/automatic.gdf
Binary file not shown.
Binary file added include/securimage/gdfonts/bubblebath.gdf
Binary file not shown.
Binary file added include/securimage/gdfonts/caveman.gdf
Binary file not shown.
Binary file added include/securimage/gdfonts/crass.gdf
Binary file not shown.
Binary file added include/securimage/images/audio_icon.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added include/securimage/images/refresh.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 131e762

Please sign in to comment.