Login   Register  
PHP Classes
elePHPant
Icontem

File: captcha_x.ini

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ondrej Maly  >  CAPTCHA X  >  captcha_x.ini  >  Download  
File: captcha_x.ini
Role: Auxiliary data
Content type: text/plain
Description: Configuration. Contains documentation on parameters
Class: CAPTCHA X
Image based CAPTCHA validation
Author: By
Last change:
Date: 2006-04-09 09:39
Size: 1,136 bytes
 

Contents

Class file image Download
; size of the resulting image
width               = 120
height              = 30
padding             = 5,5,8,10

; ammount of noise and dots vs. lines ratio (may vary from 0 to 100)
noise               = 50
dust_vs_scratches   = 90

; how many & which letters. $letter_precession means the absolute value of the angle
letters_no          = 4 
letters             = f,u,c,k,O,F,F,y,o,u,D,A,M,N,E,D,s,p,a,m,m,i,n,g,B,A,S,T,A,R,D,S
letter_precession   = 15

; if $use_local_fonts == 1, then the fonts from APP_ROOT/fonts are used
use_local_fonts     = 0
font_size           = 18,20,22
fonts               = arialbdo,courbdo,timesbdo

; how to compare the resulting string
case_sensitive      = 0

; there are two bg colors. second is used to add some noise before the letters
; are printed, the first for filling the bg and for adding some noise after
bg_color_1          = 10,10,10
bg_color_2          = 128,128,128

; you can use as many fg colors as you wish
[fg_colors]
fg_color_1          = 255,185,0
fg_color_2          = 231,231,231
fg_color_3          = 255,255,255
fg_color_4          = 255,221,0