verifyResponse( $_SERVER['REMOTE_ADDR'], $_POST['g-recaptcha-response'] ); } if ($resp != NULL && $resp->success) { $_CAPTCHA_IS_VALID = TRUE; }