ASP中文和算术验证码
作者:刚子 日期:2011-11-03
之前有发过一个ASP数字验证码,使用简单,不过很容易被破解,下面推荐一个中文和算术的验证码。

点击下载此文件
调用页:
程序代码
验证页:
程序代码

点击下载此文件调用页:
程序代码<img src="code.asp" alt="请点击刷新验证码" style="cursor : pointer;" onClick="this.src='/code.asp?t='+(new Date().getTime());">
验证页:
程序代码<%
If Trim(Request.Form("checkimg"))=Empty or Trim(Session("psn"))<>Trim(Request.Form("checkimg")) Then
response.write("请注意正确输入验证码")
response.end
end if
%>
If Trim(Request.Form("checkimg"))=Empty or Trim(Session("psn"))<>Trim(Request.Form("checkimg")) Then
response.write("请注意正确输入验证码")
response.end
end if
%>
评论: 0 | 引用: 0 | 查看次数: -
发表评论
上一篇
下一篇

文章来自:
Tags: