asp注册验证咋不行呢?!
<%
username=request.Form("ruid")
password=request.form("rpwd")
password2=request.Form("rrpwd")
if username="" or password="" or password2="" then
response.Write("<script>alert('user's id can't null');window.history.back();</script>")
if password<>password2 then
response.write("<script>alert('error');window.history.back();</script>")
response.End()
end if
end if
%>
想验证提交时用户名 密码 重复密码 是否为空 且 密码与重复密码需相同 运行时却只检查密码与重复密码是否相同
求前辈帮忙修改。晚辈不甚感激····
另外:我想验证Email合法性 请问怎么做