簡體   English   中英

在網站上使用reCAPTCHA PHP插件的最簡單方法

[英]Best Simple method for using reCAPTCHA PHP Plugin in website

我已經使用谷歌api和下面的代碼在我的網站上獲取驗證碼但無法在php網站上獲取它。 我使用下面的代碼

<html><body>
<?
require_once ("recaptchalib.php");
// get a key at http://www.google.com/recaptcha/mailhide/apikey
$mailhide_pubkey = '';
$mailhide_privkey = '';
?>
The Mailhide encoding of example@example.com is
<?
echo recaptcha_mailhide_html ($mailhide_pubkey,
                              $mailhide_privkey,
                              "example@example.com");
?>.
<br>
The url for the email is:
<?
echo recaptcha_mailhide_url ($mailhide_pubkey,
                             $mailhide_privkey,
                             "example@example.com");
?>
<br>
</body></html>

請告訴我在Php網站上獲取Captcha的簡單和最佳步驟。

不要遵循這種方法,管理起來有點困難。

如果您只是想整合Google New reCaptcha,那么請在此處注冊

並生成一個密鑰並在您的表單中管理它。 您可以按照以下鏈接獲取更多詳細信息。

谷歌reCaptcha使用PHP | 只有兩步整合

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM