Amp html 如何设置amp recaptcha输入?

Amp html 如何设置amp recaptcha输入?,amp-html,Amp Html,你能帮我在AMP页面上安装recaptcha吗? 我已将中的代码放入index.html文件中。但我不知道如何执行captcha,以及如何在我的表单操作php文件中获取$_POST['g-recaptcha-response'](就像在普通站点中一样)以验证表单 标题 <script async custom-element="amp-recaptcha-input" src="https://cdn.ampproject.org/v0/amp-recaptcha-input-0.1.js

你能帮我在AMP页面上安装recaptcha吗? 我已将中的代码放入index.html文件中。但我不知道如何执行captcha,以及如何在我的表单操作php文件中获取$_POST['g-recaptcha-response'](就像在普通站点中一样)以验证表单

标题

<script async custom-element="amp-recaptcha-input" src="https://cdn.ampproject.org/v0/amp-recaptcha-input-0.1.js"></script>


组成部分

<amp-recaptcha-input layout="nodisplay"
          name="recaptcha_token"
          data-sitekey="6LfcQ7IUAAAAAIv1KcgqyExGK0v8dLJtvV_Q6xD-"
          data-action="recaptcha_example">
</amp-recaptcha-input> 


多谢各位