ASPired2Encode is a CAPTCHA system for adding anti spam protection to your forms. ASPired2Encode uses a distorted image that the user must decode to proceed with the form. This prevents computers from automatically entering data into your forms. This is a great asset for blogs, forums and guestbooks.
What is a CAPTCHA? CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. When used this program sets apart personal users and computers.

The encoded CAPTCHA image is displayed by including one line of code into your form.
<img src="ASPired2Encode.asp" alt="Encoded CAPTCHA Image" height="21" width="86">
In the file that your form submits to, enter the following lines of code.
<% Function ValidateCAPTCHA(valCAPTCHA)
SessionCAPTCHA = Trim(Session("CAPTCHA"))
Session("CAPTCHA") = vbNullString
if Len(SessionCAPTCHA) < 1 then
ValidateCAPTCHA = False
exit function
end if
if CStr(SessionCAPTCHA) = CStr(valCAPTCHA) then
ValidateCAPTCHA = True
else
ValidateCAPTCHA = False
end if
End Function
%>
<%
if Request.ServerVariables("REQUEST_METHOD") = "POST" then
strCAPTCHA = Trim(Request.Form("strCAPTCHA"))
if ValidateCAPTCHA(strCAPTCHA) = false then
response.redirect("yourform")
end if
end if
%>
|