|
|
|
Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - ASP implementation
crisei |
2008-04-16 08:38:33 |
|
Hi,
I'm trying this simple code to get the verification of the captcha in
ASP.
//// Code ///////
Response.Buffer = True
Dim xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
Dim UserIPAddress
UserIPAddress = Request.ServerVariables("REMOTE_ADDR")
xml.open "POST",
"http://protectwebform.com/verify/18447_jngv9qpt4fyk_"+
UserIPAddress+"/" + Request.Form("protectwebformcode") + "/", false
xml.Send
resultString = xml.responseText
If Instr(resultString, "<verification result=""no""/>") Then
swErrCapt = True
End If
Set xml = Nothing
///////////////////////////////
Every time I'm getting
<?xml version="1.0" ?>
- <protectwebform>
<verification result="no" />
<authorization status="1" />
</protectwebform>
What's the problem with this verification?
Could you please help me? because your server is anwering but still it
doesn't reconize the code.
I check the protecwebcode I'm sending with the url and it's ok. |
crisei |
2008-04-17 00:00:39 |
|
It's working fine now. I got an error code in my html form. I changed
it and now the captcha works.
Thanks for all.
|
Post Reply:
You must be logged in to reply.
|
Post message
|
Registered users: 87996
Forms protected: 48551
Further Reading & Anti Spam Resources:
Directory
|
|