File: /www/exchange0old/exchange/captcha/captchac_config.php
<?php
/***************************************************************************
* Product Name : AJ MATRIX DNA
* Version : V 3.1
* Release Date : Saturday, October 31, 2009
* Copyright : (C) 2009 AJ Square Inc
* Email : info@ajsquare.com
* Company URL : www.ajsquare.com
***************************************************************************/
/****************************************************************************
* Licence Agreement:
* This program is a Commercial licensed software. You are not authorized to redistribute it and/or modify/and or sell it under any publication either user and enterprise versions of the License (or) any later version is applicable for the same. If you have received this software without a license, you must not use it, and you must destroy your copy of it immediately. If anybody illegally uses this software, please contact info@ajsquare.com.
*****************************************************************************/
?>
<?php
// You can customize the look and feel of the Captcha Image by changing the settings below.
// We recommend that you save a backup copy of the initial configuration file, because if you
// make unwanted or inappropriate changes that result in the script not working, you will be
// able to easily restore it back
// 1. The size of the Captcha Image
// Image Size can be either variable, random within some parameters, or fixed
$CSize = 1; // 1 is variable, 0 is fixed
$CSizeWidth = 0;
$CSizeHeight = 0; // 1 is variable, 0 is fixed
// Everytime a captcha is shown, a new random code will be generated
// This code is a string of letters and numbers, and it's length can be chosen random as well
// The Code Minimum Length
$CMinSize = 5;
// The Code Minimum Length
$CMaxSize = 5;
// For example if the Minimum Length is 4 and Maximum Length is 5, Captcha Codes will
// sometimes be of 4 characters in length and sometimes of 5 characters in length
// The Code Characters
$CSrc = 'abcdefghijkmnpqrstuvwxyz23456789';
// 2. Background settings
// Background can be either random ( generated by the script ) or specified by a file
$CBackgroundType =0; // 1 is random, 0 is fixed
$CBackgroundFile = 'backgrounds/8.gif'; // 1 is random, 0 is fixed
$CBackgroundFillType = 1; // 1 is tiled, 0 is resized
// 3. Fonts settings
// The font used, can be 1 if random chosed from a fonts directory or 0 if specified
$CFontUsed = 0;
$CFontURL = 'fonts/font29.ttf';
// The number of fonts in the font directory
$FontNo = 1;
// The script will automatically chose a font between 1 and this value
// The fonts directory
$fonts_dir = 'fonts';
/* font size range, angle range, character padding */
// Color of text
$CFontColorType = 3; // 1 is random, 2 is black, 3 is white, 4 is custom
$color_text_r = 10;
$color_text_g = 38;
$color_text_b = 140;
$CFontSizeMin = 15;
$CFontSizeMax = 20;
// The font can vary as well
$CFontSizeMin = 25;
$CFontSizeMax = 25;
// Leters and numbers inside the Captcha can be rotated
$CFontRotMin = -10;
$CFontRotMax = 10;
// The space around the characters
$CFontPadding = 0;
// The output type ( jpeg, png )
# $output_type='jpeg';
$output_type='png';
// Captcha Type
$captcha_type = 1;
?>