<?php
/**
 * Include the Captcha library
 */
require_once( 'captcha.lib.php' );
/**
 * Set options
 *
 * @var array
 */
$codeOptions = array(
    
'imageWidth' => 150,
    
'imageHeight' => 36,
    
'ttf' => '/www-amon/theba.hu/captcha/antfarm.ttf',
    
'textColor' => '565656',
    
'textTransparency' => 50,
    
'shadowColor' => 'EEEEEE',
    
'shadowText' => 100,
    
'textShadow' => 50,
    
'backgroundImage' => '',
    
'backgroundColor' => 'FFFFFF',
    
'lineColor' => 'BCBCBC',
    
'angledLines' => true,
    
'linesOverText' => true,
    
'drawLines' => true,
    
'textStartX' => 15,
    
'lineAlpha' => 60,
    
'lineDistance' => 10,
    
'codeLength' => 4,
    
'fontSize' => 20,
    
'textAngleMin' => -40,
    
'textAngleMax' => 40,
    
'textDistanceMax' => 33,
    
'textDistanceMin' => 30,
);
/**
 * Generate and write out the image
 */
Code::getInstance$codeOptions )->showCode();