问题描述
是否存在一个示例,该示例如何将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)
%>