Title: Help With the Check Function
Last modified: August 31, 2016

---

# Help With the Check Function

 *  [dxladner](https://wordpress.org/support/users/dxladner/)
 * (@dxladner)
 * [10 years ago](https://wordpress.org/support/topic/help-with-the-check-function/)
 * 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/)

The topic ‘Help With the Check Function’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [dxladner](https://wordpress.org/support/users/dxladner/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/help-with-the-check-function/)
 * Status: not resolved