你可以试一下你的bbsxp不输入密码,只输入用户名和电邮是不是能注册成功. 主要是防止有人恶意注册或是不小心注册时候忘输密码导致进不去。
解决方法:
打开register.asp
在 if Len(username)>8 then message=message&"<li>注册用户名最多8个字" 后面加上了
if Len(password)<8 then message=message&"<li>设置密码最少8个字符"
或者是:
打开register.asp
找到:
if password="" then Randomize password=int(rnd*999999)+1 elseif password<>userpass2 then message=message&"<li>您2次输入的密码不正确" end if
改为:
if password="" then message=message&"<li>请输入你的密码!" elseif password<>userpass2 then message=message&"<li>您2次输入的密码不正确!" end if
其实bbsxp如果不输入密码,bbsxp会随机生成一段字符串为你的密码的.
看一下程序就明白了. 【转自世纪安全网 http://www.21safe.com】
|