I am placing the reCaptcha in my contact form but every time I send it, the FALSE returns to me:
$google_url="https://www.google.com/recaptcha/api/siteverify";
$secret='xxxxxxxx';
$ip=$_SERVER['REMOTE_ADDR'];
$url = $google_url."?secret=".$secret."&response=".$recap."&remoteip=".$ip;
$res = json_decode($url);
//reCaptcha success check
if($res['success']){
echo true;
}else{
echo false;
}