求助:asp管理后台 如何取消验证码 50
<!--#includefile="inc/AspCms_SettingClass.asp"--><%dimaction:action=getForm("action",...
<!--#include file="inc/AspCms_SettingClass.asp" -->
<%
dim action : action=getForm("action","get")
if action = "login" then
dim UserName,Password,sql,code,Rs,atype
UserName = filterPara(getForm("username","post"))
atype = getForm("atype","post")
Password = md5(getForm("Password","post"),16)
if isOutSubmit then alertMsgAndGo"非法外部提交被禁止","-1"
' User UserGroup
' LoginName
'Password
'GroupID
'IsAdmin
sql = "select count(*) from {prefix}User where LoginName = '"& UserName &"' and Password='"&Password&"'"
Dim rsObj : Set rsObj=Conn.Exec(sql,"r1")
if rsObj(0)=1 then 展开
<%
dim action : action=getForm("action","get")
if action = "login" then
dim UserName,Password,sql,code,Rs,atype
UserName = filterPara(getForm("username","post"))
atype = getForm("atype","post")
Password = md5(getForm("Password","post"),16)
if isOutSubmit then alertMsgAndGo"非法外部提交被禁止","-1"
' User UserGroup
' LoginName
'Password
'GroupID
'IsAdmin
sql = "select count(*) from {prefix}User where LoginName = '"& UserName &"' and Password='"&Password&"'"
Dim rsObj : Set rsObj=Conn.Exec(sql,"r1")
if rsObj(0)=1 then 展开
1个回答
2018-03-14
展开全部
在前台代码里删除这行、<input name="VerifyCode" type="text" id="VerifyCode" size="8" maxlength="5"/>
<img src="vCode.asp?" onClick="this.src+=Math.random()" alt="图片看不清?点击重新得到验证码" style="cursor:hand;" />
<img src="vCode.asp?" onClick="this.src+=Math.random()" alt="图片看不清?点击重新得到验证码" style="cursor:hand;" />
追问
没有这段啊,可以联系你解决吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询