Menu
Kategorie
 
Contact me

    /*
    symple captcha
    */
    $captcha_instance = new ReallySimpleCaptcha();
    // Change the background color of CAPTCHA image to black
    $captcha_instance->bg = array( 0, 0, 0 );
    $word = $captcha_instance->generate_random_word();
    $prefix = mt_rand();
    $captcha_instance->generate_image( $prefix, $word );
    $correct = $captcha_instance->check( $prefix, $the_answer_from_respondent );
    $captcha_instance->remove( $prefix );
    ?>

    *