先看程序(以动网官方Dvbbs7.1.0_Ac[2005.07.04]最新的reg.asp文件为准)1、找到235行-246行的内容If Request.form("quesion")="" Then
ErrCodes=ErrCodes+"<li>"+template.Strings(11)Elsequesion=Request.form("quesion")End IfIf Request.form("answer")="" Then
ErrCodes=ErrCodes+"<li>"+template.Strings(11)
ElseIf Request.form("answer")=Request.form("oldanswer") Then
answer=Request.form("answer")Elseanswer=md5(Request.form("answer"),16)
End If在其下面插入'防止恶意注册添加项 by xintiao
If Request.form("Forumname")="" Then
Response.redirect "showerr.asp?ErrCodes=<li>您没有回答“防恶意注册问题答案”!&action=OtherErr"ElseIf Request.form("Forumname")<>Dvbbs.Forum_Info(0) Then
Response.redirect "showerr.asp?ErrCodes=<li>请回答正确的“防恶意注册问题答案”!&action=OtherErr"End IfEnd If2、114行处找到TempLateStr=Rep