Offerte aanvragen
 
 
 

 
 
 
Ad Glas
Ad en Edwin
Ad en Jeffrey
 
 
'6Lc7yxwUAAAAAFSBRIVnZb6XTQl86--xB98jgGl2', 'response' => $user_response ); foreach($fields as $key=>$value) $fields_string .= $key . '=' . $value . '&'; $fields_string = rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.google.com/recaptcha/api/siteverify'); curl_setopt($ch, CURLOPT_POST, count($fields)); curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, True); $result = curl_exec($ch); curl_close($ch); return json_decode($result, true); } $res = post_captcha($_POST['g-recaptcha-response']); if (!$res['success']) { echo '

Please go back and make sure you check the security CAPTCHA box.


'; } else { echo '

CAPTCHA was completed successfully!


'; } ?>

Deel ons op social Media