'includes/tmp/', // string: absolute path (with trailing slash!) to a writeable tempfolder which is also accessible via HTTP! 'TTF_folder' => 'includes/TTF/', // string: absolute path (with trailing slash!) to folder which contains your TrueType-Fontfiles. 'TTF_RANGE' => array('comic.ttf','georgia.ttf'), 'chars' => 5, // integer: number of chars to use for ID 'minsize' => 15, // integer: minimal size of chars 'maxsize' => 10, // integer: maximal size of chars 'maxrotation' => 60, // integer: define the maximal angle for char-rotation, good results are between 0 and 30 'noise' => TRUE, // boolean: TRUE = noisy chars | FALSE = grid 'websafecolors' => FALSE, // boolean 'refreshlink' => TRUE, // boolean 'lang' => 'en', // string: ['en'|'de'] 'maxtry' => 3, // integer: [1-9] 'badguys_url' => '/', // string: URL 'secretstring' => 'A very, very secret string which is used to generate a md5-key!', 'secretposition' => 15, // integer: [1-32] 'debug' => FALSE ); $captcha =& new hn_captcha($CAPTCHA_INIT); switch($captcha->validate_submit()) { case 1: enviar_post(); break; case 2: echo $captcha->display_form(); break; case 3: echo ""; break; default: echo $captcha->display_form(); break; } ?>