/usr/share/doc/php-google-recaptcha/examples
NameSizeModeActions
appengine-https.php20710644editdlrm
config.php.dist18480644editdlrm
examples.css4030644editdlrm
google0afd8760fd68f119.html530644editdlrm
index.php38020644editdlrm
recaptcha-content-security-policy.php85640644editdlrm
recaptcha-v2-checkbox-explicit.php79450644editdlrm
recaptcha-v2-checkbox.php75080644editdlrm
recaptcha-v2-invisible.php72570644editdlrm
recaptcha-v3-request-scores.php68020644editdlrm
recaptcha-v3-verify.php28710644editdlrm
robots.txt240644editdlrm
Edit: /usr/share/doc/php-google-recaptcha/examples/recaptcha-v3-verify.php (2871B)
setExpectedHostname($_SERVER['SERVER_NAME']) ->setExpectedAction($_GET['action']) ->setScoreThreshold(0.5) ->verify($_GET['token'], $_SERVER['REMOTE_ADDR']); header('Content-type:application/json'); echo json_encode($resp->toArray());