0

原谅我的无知。我试图在我的网站上设置 recaptcha。查看给定的说明,我发现似乎有问题。

说明给你这个代码:

 require_once('recaptchalib.php');

但这是一个相对路径,我没有得到任何下载这个 recaptcha 库文件的东西,那么它是如何工作的呢?

4

1 回答 1

2

https://developers.google.com/recaptcha/docs/php

To use reCAPTCHA with PHP, you can download reCAPTCHA PHP library. You will only need one file from there (recaptchalib.php). The other files are examples, readme and legal stuff -- they don't affect functionality.

于 2012-05-17T16:31:35.360 回答