Title: Check Function Issue
Last modified: August 31, 2016

---

# Check Function Issue

 *  Resolved [dxladner](https://wordpress.org/support/users/dxladner/)
 * (@dxladner)
 * [10 years ago](https://wordpress.org/support/topic/check-function-issue/)
 * Thanks for creating the Really Simple Captcha. I am using the plugin to integrate
   captcha on a custom contact form in WordPress. I have read and followed the instructions
   and the one tutorial I found on the net: [http://www.lost-in-code.com/platforms/wordpress/wordpress-plugins/wordpress-using-really-simple-captcha/](http://www.lost-in-code.com/platforms/wordpress/wordpress-plugins/wordpress-using-really-simple-captcha/)
 * So my contact form breaks on the check function.
 * My form displays the captcha, the files are getting created and saved in the 
   tmp folder successfully. When the form submits it breaks at the check function.
   here is my simple POST code:
 *     ```
       if($_POST['contact_form'])
                       {
                           $captcha_prefix = $_POST['captcha_prefix'];
                           $captcha_code = $_POST['captcha_code'];
   
                           echo $captcha_prefix;
                           echo '<br/>';
                           echo $captcha_code;
   
                           $correct = $captcha_instance->check( $captcha_prefix, $captcha_code );
                           echo '<br/>';
                           echo $correct;
       ```
   
 * `]`
 * on submission, my values are getting passed and displayed. then the page breaks
   at this line:
    `$correct = $captcha_instance->check( $captcha_prefix, $captcha_code);`
 * Any help would be greatly appreciated.
 * Thanks,
 * Darren
 * [https://wordpress.org/plugins/really-simple-captcha/](https://wordpress.org/plugins/really-simple-captcha/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [dxladner](https://wordpress.org/support/users/dxladner/)
 * (@dxladner)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/check-function-issue/#post-7455791)
 * Thanks for help.
 * I figured it out myself.
 * DL

Viewing 1 replies (of 1 total)

The topic ‘Check Function Issue’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-captcha/assets/icon-256x256.png?rev=1047241)
 * [Really Simple CAPTCHA](https://wordpress.org/plugins/really-simple-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-captcha/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dxladner](https://wordpress.org/support/users/dxladner/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/check-function-issue/#post-7455791)
 * Status: resolved