这是否可以使用recaptcha没有互联网连接

时间:2021-06-01 01:51:23

I'm working on core php. I want to use recaptcha for my form. I downloaded recaptcha from this link. It works fine but when I switched off my internet connection it's invisible on my local.

我正在研究核心php。我想使用recaptcha作为我的表格。我从这个链接下载了recaptcha。它工作正常,但当我关闭我的互联网连接时,它在我的本地看不见。

Is it possible to use recaptcha on my local server?

是否可以在我的本地服务器上使用recaptcha?

5 个解决方案

#1


1  

https://www.google.com/recaptcha/api.js is the reCaptcha js controller that makes all the reCaptcha management. It is loaded from google server once and you might pre-load it and plug in locally. Yet, all the verification is done server-side by google, so you can't actually click recaptcha off-line, nor verify human-bot, neither submit a form.

https://www.google.com/recaptcha/api.js是reCaptcha js控制器,可以进行所有reCaptcha管理。它从谷歌服务器加载一次,你可以预先加载它并在本地插入。然而,所有的验证都是由谷歌在服务器端完成的,所以你不能实际点击重新接收离线,也不能验证人机器人,也不能提交表格。

Read more on reCaptcha v2.0

阅读有关reCaptcha v2.0的更多信息

#2


0  

Recaptcha is a service. Each request is handled by a foreign server, so no chance without an internet connection.

Recaptcha是一项服务。每个请求都由外部服务器处理,因此没有互联网连接就没有机会。

btw: A website without internet connection is not a real scenario ;) If you use external services, you must have a chance to reach them.

顺便说一句:没有互联网连接的网站不是真实的场景;)如果你使用外部服务,你必须有机会接触它们。

#3


0  

The only solution I could think of is to provide a configuration or environment variable what would disable the use of recaptcha entirely. When you are working without Internet connection you would simple enable that configure option and develop your application without recaptcha.

我能想到的唯一解决方案是提供一个配置或环境变量,什么会完全禁用recaptcha。当您在没有Internet连接的情况下工作时,您可以简单地启用configure选项并开发应用程序而无需重新连接。

#4


0  

Well recaptcha is basically a google service and ofcourse it requires internet connection,wehreas if you want to work with captcha on your local server then try this link Captcha.

好的recaptcha基本上是一个谷歌服务,当然它需要互联网连接,wehreas如果你想在本地服务器上使用验证码然后尝试这个链接Captcha。

It works on your local server too :)

它也适用于您的本地服务器:)

#5


-1  

I think if we are able to download the recaptcha/api.js file, and then store it on our local machine as we do with some of other js file, then can we still not able to use the service without internet.

我想如果我们能够下载recaptcha / api.js文件,然后将它存储在我们的本地机器上,就像我们使用其他一些js文件一样,那么我们仍然无法在没有互联网的情况下使用该服务。

during using google recaptch we say this in the head section. https://www.google.com/recaptcha/api.js'> but from where to download the js file and to like this

在使用google recaptch期间,我们在head部分说这个。 https://www.google.com/recaptcha/api.js'>但是从哪里下载js文件并喜欢这个

#1


1  

https://www.google.com/recaptcha/api.js is the reCaptcha js controller that makes all the reCaptcha management. It is loaded from google server once and you might pre-load it and plug in locally. Yet, all the verification is done server-side by google, so you can't actually click recaptcha off-line, nor verify human-bot, neither submit a form.

https://www.google.com/recaptcha/api.js是reCaptcha js控制器,可以进行所有reCaptcha管理。它从谷歌服务器加载一次,你可以预先加载它并在本地插入。然而,所有的验证都是由谷歌在服务器端完成的,所以你不能实际点击重新接收离线,也不能验证人机器人,也不能提交表格。

Read more on reCaptcha v2.0

阅读有关reCaptcha v2.0的更多信息

#2


0  

Recaptcha is a service. Each request is handled by a foreign server, so no chance without an internet connection.

Recaptcha是一项服务。每个请求都由外部服务器处理,因此没有互联网连接就没有机会。

btw: A website without internet connection is not a real scenario ;) If you use external services, you must have a chance to reach them.

顺便说一句:没有互联网连接的网站不是真实的场景;)如果你使用外部服务,你必须有机会接触它们。

#3


0  

The only solution I could think of is to provide a configuration or environment variable what would disable the use of recaptcha entirely. When you are working without Internet connection you would simple enable that configure option and develop your application without recaptcha.

我能想到的唯一解决方案是提供一个配置或环境变量,什么会完全禁用recaptcha。当您在没有Internet连接的情况下工作时,您可以简单地启用configure选项并开发应用程序而无需重新连接。

#4


0  

Well recaptcha is basically a google service and ofcourse it requires internet connection,wehreas if you want to work with captcha on your local server then try this link Captcha.

好的recaptcha基本上是一个谷歌服务,当然它需要互联网连接,wehreas如果你想在本地服务器上使用验证码然后尝试这个链接Captcha。

It works on your local server too :)

它也适用于您的本地服务器:)

#5


-1  

I think if we are able to download the recaptcha/api.js file, and then store it on our local machine as we do with some of other js file, then can we still not able to use the service without internet.

我想如果我们能够下载recaptcha / api.js文件,然后将它存储在我们的本地机器上,就像我们使用其他一些js文件一样,那么我们仍然无法在没有互联网的情况下使用该服务。

during using google recaptch we say this in the head section. https://www.google.com/recaptcha/api.js'> but from where to download the js file and to like this

在使用google recaptch期间,我们在head部分说这个。 https://www.google.com/recaptcha/api.js'>但是从哪里下载js文件并喜欢这个