找个高手帮我去掉ASP后台的验证码
<%@PageLanguage="C#"AutoEventWireup="true"Inherits="Admin_Admin_Login"Codebehind="Adm...
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Admin_Admin_Login" Codebehind="Admin_Login.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>管理员登录</title>
<link href="../skin/just/css/main.css" rel="stylesheet" type="text/css" />
<link href="../skin/just/css/admin.css" rel="stylesheet" type="text/css" />
<script type ="text/javascript">
if (parent.location.href != window.location.href)
{
parent.location.href = window.location.href;
}
</script>
</head>
<body bgcolor="#EEEEEE">
<form method="post" enctype="multipart/form-data" name="frmLogin" id="frmLogin">
<div id="LoginForm">
<div id="AdminLoginTop"></div>
<div id="LoginMiddle">
<div class="LoginBox">
<div>
用户帐号 <input type="text" name="userid" style="width:80px;" class="dataInput" />
</div>
<div>
<span class="redText">管理密码</span> <input type="password" name="password" style="width:80px;" class="dataInput" />
</div>
<div>
验 证 码 <input type="text" name="verifycode" style="width:40px;" class="dataInput" /> <img src="../VerifyImage.aspx" style="margin-bottom:-5px; width:50px; height:20px;" alt="看不清验证码,请单击" onclick="this.src='../VerifyImage.aspx?' + Math.round(Math.random()*10000)"/>
</div>
<div style="padding-top:5px; height:14px; color:red;" runat="server" id="div_result"></div>
</div>
<div class="LoginButton">
<input name="btn" type="image" src="../skin/just/login/dl.jpg" />
</div>
</div>
<div id="LoginBottom"></div>
</div>
</form>
</body>
</html> 展开
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>管理员登录</title>
<link href="../skin/just/css/main.css" rel="stylesheet" type="text/css" />
<link href="../skin/just/css/admin.css" rel="stylesheet" type="text/css" />
<script type ="text/javascript">
if (parent.location.href != window.location.href)
{
parent.location.href = window.location.href;
}
</script>
</head>
<body bgcolor="#EEEEEE">
<form method="post" enctype="multipart/form-data" name="frmLogin" id="frmLogin">
<div id="LoginForm">
<div id="AdminLoginTop"></div>
<div id="LoginMiddle">
<div class="LoginBox">
<div>
用户帐号 <input type="text" name="userid" style="width:80px;" class="dataInput" />
</div>
<div>
<span class="redText">管理密码</span> <input type="password" name="password" style="width:80px;" class="dataInput" />
</div>
<div>
验 证 码 <input type="text" name="verifycode" style="width:40px;" class="dataInput" /> <img src="../VerifyImage.aspx" style="margin-bottom:-5px; width:50px; height:20px;" alt="看不清验证码,请单击" onclick="this.src='../VerifyImage.aspx?' + Math.round(Math.random()*10000)"/>
</div>
<div style="padding-top:5px; height:14px; color:red;" runat="server" id="div_result"></div>
</div>
<div class="LoginButton">
<input name="btn" type="image" src="../skin/just/login/dl.jpg" />
</div>
</div>
<div id="LoginBottom"></div>
</div>
</form>
</body>
</html> 展开
3个回答
展开全部
什么意思 是不要那段代码是吧??
<div>
验 证 码 <input type="text" name="verifycode" style="width:40px;" class="dataInput" /> <img src="../VerifyImage.aspx" style="margin-bottom:-5px; width:50px; height:20px;" alt="看不清验证码,请单击" onclick="this.src='../VerifyImage.aspx?' + Math.round(Math.random()*10000)"/>
</div>
这个删了就OK
<div>
验 证 码 <input type="text" name="verifycode" style="width:40px;" class="dataInput" /> <img src="../VerifyImage.aspx" style="margin-bottom:-5px; width:50px; height:20px;" alt="看不清验证码,请单击" onclick="this.src='../VerifyImage.aspx?' + Math.round(Math.random()*10000)"/>
</div>
这个删了就OK
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
有个判断登录的页面的,你把里面那句判断的语句删了就可以
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询