captcha kontrolü hakkında
2
●68
- 28-09-2023, 21:45:56
$secretKey = ""; $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$secretKey."&response=".$_POST["g-recaptcha-response"]."&remoteip=".$_SERVER['REMOTE_ADDR']); $responseKeys = json_decode($response,true); if(intval($responseKeys["success"]) == 1) { // Captcha onaylanınca yapılacak işlemler }