Location: PHPKode > scripts > DF_Captcha > example.php
<?php
#########################################################
#                                                       #
#   Example class DF_Captcha for a one simple captcha   #
#                                                       #
#########################################################

    require_once("class.captcha.php");

    $c = new DF_Captcha(372, 60, "fff");
    $c->noise_granular = 0;
    $c->noise_square = 0;
    $c->setLenCode(7);
    $c->drawImage();
    $_SESSION["code"] = $c->getCode();

?>
Return current item: DF_Captcha