调用代码…………
<input name='validatecode' type='text' size='5'> <img src='imgchk/validatecode.asp' align='absmiddle' border='0'>
下载附件:
QfwtHUIN.rar
(1.45 KB)
检查验证码是否正确代码:
If Trim(Request.Form("validatecode"))=Empty Or Trim(Session("cnbruce.com_ValidateCode"))<>Trim(Request.Form("validatecode")) Then
response.write "<script language=javascript>"
response.write "alert('对不起,您的验证码不正确!');"
response.write "javascript:history.go(-1);"
response.write "</script>"
response.end
end if
[此贴子已经被作者于2006-10-12 10:50:10编辑过]