//your website's form
//Make a second file for example https://mydomain/verify-recaptcha.php and paste 'YOUR RECAPTCHA SECRET KEY HERE', 'response' => $_POST["g-recaptcha-response"] ); $options = array( 'http' => array ( 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $verify = file_get_contents($url, false, $context); $captcha_success=json_decode($verify); if ($captcha_success->success==false) { header("Location: https://mydomain/capcha-try-again/"); } else if ($captcha_success->success==true) { //echo "You are not not a bot!
"; } ?> //for 7.2 version paste here your vtiger autogenerated webform code up to