Your browser must have JavaScript enabled in order to view this page.
 >  >
 
Welcome Guest#212 Login/register    Go to Bottom
Go to Top

Procedural File: make_captcha.php

SOURCE LOCATION:  /script/make_captcha.php

File Overview

Creates and stores a random CAPTCHA image.

I run this from a cronjob to rotate 24 images.

Based on code by Julien Crouzet, original header follows: >To use these functions, you'll need : > >GD Library http://fr3.php.net/manual/fr/ref.image.php >With FreeType 2 support --with-freetype-dir=DIR > >Image Magick http://www.imagemagick.org/script/index.php

For additional details, see: http://web.archive.org/web/20060721212525/http://blog.theoconcept.com/index. php/2006/01/27/3-un-peu-tordu-comme-idee

DutchPIPE version 0.4; PHP version 5

LICENSE: This source file is subject to version 1.0 of the DutchPIPE license. If you did not receive a copy of the DutchPIPE license, you can obtain one at http://dutchpipe.org/license/1_0.txt or by sending a note to license@dutchpipe.org, in which case you will be mailed a copy immediately.


LINK:  http://dutchpipe.org/manual/package/DutchPIPE
SEE:  dpserver.php, /www/captcha.php
FILESOURCE:  Source Code for this file
VERSION:  Subversion: $Id: make_captcha.php 278 2007-08-19 22:52:25Z ls $
LICENSE:  DutchPIPE License
AUTHOR:  Julien CROUZET <at /theoconcept.com julien/ at /theoconcept.com>
COPYRIGHT:  2006 Julien CROUZET
AUTHOR:  Lennert Stock <ls@dutchpipe.org>

Includes

require_once($config_dir.'/dpserver-ini.php'[line 44]

Gets server settings
require_once($config_dir.'/dpuniverse-ini.php'[line 49]

Gets universe settings
require_once(dptext.php[line 52]

Functions

distortion_string  [line 95]
string distortion_string( mixed $String , mixed $Font , mixed $FontSize , [mixed $BGColor = '#FFFFFF'] , [mixed $TextColor = '#9999CC']   )

Build an animated swirled picture for form verifications
RETURNS:  string  Animated gif image binary content
AUTHOR:  Julien CROUZET <at /theoconcept.com julien/ at /theoconcept.com>
getstringdimensions  [line 72]
array getstringdimensions( mixed $String , mixed $Font , mixed $FontSize   )

Get a string width and height with given parameters
RETURNS:  array  An array with [0] = Width [1] = Height
AUTHOR:  Julien CROUZET <at /theoconcept.com julien/ at /theoconcept.com>
get_rand_code  [line 181]
void get_rand_code( )


Documentation generated on Mon, 03 Sep 2007 22:21:58 +0200 by phpDocumentor 1.3.0RC6

Click me!
Guest#212
 
 
 
  Go to Top
 
 
Input Field OptionsClose Input Field Go to Top
 
Legal Notices | Copyright © 2006, 2007 Lennert Stock. All rights reserved. Last update: Mon Sep 03 2007, 21:50 CET.