<html> <head> <script src="https://www.google.com/recaptcha/api.js" async defer></script> </head> <body> <form action="teste.asp" method="POST"> <div class="g-recaptcha" data-sitekey="6LeDCAgTAAAAAAq4tf6729Tb7WlJivOQrazBgTBs"></div> <br/> <input type="submit" value="Submit"> </form> </body> </html>
<% Dim recaptcha_secret, sendstring, objXML recaptcha_secret = "6LeDCAgTAAAAAAq4tf6729Tb7WlJivOQrazBgTBs" sendstring = "https://www.google.com/recaptcha/api/siteverify?secret=" & recaptcha_secret & "&response=" & Request.form("g-recaptcha-response") Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP") objXML.Open "GET", sendstring, False objXML.Send Response.write "<h3>Response: " & objXML.responseText & "</h3>" Set objXML = Nothing %>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)