• Resolved kibus90

    (@kibus90)


    Hello,

    I am fighting with this from one hour and still I can not fix it. So I have to ask you for help. I hope I can count on you!

    So, I created fields, image and the result is:

    View post on imgur.com

    HTML:

    To validate my code is in different function:

    $value = $_POST['code_captcha'];
    $captcha = new ReallySimpleCaptcha();
    if($captcha->check( $_POST['captcha_prefix'], $value ) == false){
    return $error;
    }

    Before I wrote this psot I checked if there is genereted a new captcha during validation – no, is not. The validation still using old “prefix” and “answer” ($value). I checked also sent requests to “check” – they are still the same as in the form.

    I do not know how to fix it. I tried already almost every thing… but it still does not work. Could you help me with it?

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter kibus90

    (@kibus90)

    Thank you for your fast reply.

    I found the problem!

    The captcha is generated a few times – because the fields are generated in the loop. And image contains different prefix and hidden field also…. so they could not be validate!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[NSFW] Validation returns always false.’ is closed to new replies.