Recaptcha 3和经典ASP

问题描述

是否存在一个示例,该示例如何将Recaptcha 3添加到任何地方的Classic asp表单中?我可以找到PHP的示例,但找不到经典ASP的示例,而且我不确定等价的

$ recaptcha = file_get_contents($ recaptcha_url。'?secret ='。$ recaptcha_secret。'&response ='。$ recaptcha_response);

在ASP中-谢谢

解决方法

我脑海中的旧经典 .asp 库会说:

<%
' if you have a file to read,you can use this to your local file
Set objFileToRead = CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\file.txt",1)
' but I assume you want to execute some code in a url with some parameters.
callback_response = server.exectute(recaptcha_url + "?secret=" + recaptcha_secret  + "&response=" + recaptcha_response)
%>

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...