• nicowebmaster

    (@nicowebmaster)


    Good morning
    I have a wordpress custom form. I would like to add your recaptcha. I added a shortcode like: <?php echo do_shortcode(‘[captchac cap53][captchar cap53]’);?> or by directly adding the following code before my “submit” html tag:

    <?php  $captcha_instance = new ReallySimpleCaptcha( );
    $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); ?>

    But nothing is displayed. The PHP modules on the server are well installed. Did I make a mistake, an oversight? How to integrate in a custom form?
    THANKS
    Nicholas

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘display recaptcha’ is closed to new replies.