嗨伙计们我有谷歌reCaptcha的问题.
这是我的PHP代码:
$secret = 'SECRET_KEY';
$response = $_POST['g-recaptcha-respone'];
$remoteip = $_SERVER['REMOTE_ADDR'];
$url = "https://www.google.com/recaptcha/api/siteverify?secret=$secret&response=$response&remoteip=$remoteip";
$result_json = file_get_contents($url);
$resulting = json_decode($result_json, true);
print_r($resulting);
if($resulting['success']) {
//Success
}
Run Code Online (Sandbox Code Playgroud)
print_r的输入是:Array([success] => [error-codes] => Array([0] => missing-input-response))
如何解决这个问题呢?
谢谢你的回答
我在 Google 日历中创建了活动,然后将其发布到网站上(作为 Google 日历中的 HTML 代码)。
单击 URL 后,它会将我重定向到 Google Calender,并显示以下文本:Could not find the requested event。
应该是什么问题呢?我希望人们应该将此事件添加到他们的日历中。
html events google-calendar-api google-calendar-recurring-events