system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /home/pfhr/public_html/classes/Lib/
Upload File :
Current File : /home/pfhr/public_html/classes/Lib/captchac_config.php


<?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;


 ?>