网站后台验证码不显示,怎么把验证码取消呢? 20

<%@LANGUAGE=VBScript.Encode%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN"... <%@ LANGUAGE = VBScript.Encode %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>理想家园企业建站CMS系统</title>
<style>
td { font-size:12px;
font-family:Arial, Helvetica, sans-serif;
color:#141414;}
form { margin:0px;
padding:0px;}

.loginBg{
height:17px;
width:190px;
border:1px solid #c2c6d2;
background:#fff;
margin:1px 0;
font-family:Arial, Helvetica, sans-serif;
color:#000000;
letter-spacing: 1px;
padding-left:2px;

}.loginBg1 { height:17px;
width:190px;
border:1px solid #c2c6d2;
background:#fff;
margin:1px 0;
font-family:Arial, Helvetica, sans-serif;
color:#000000;
letter-spacing: 1px;
padding-left:4px;
}
</style>
</head>

<body style="background-image:url(login/login_bg.gif); background-repeat:repeat">
<form action="Admin_ChkLogin.asp" method="post" name="login" target="_parent" id="login">
<table style="margin-top:5%; " width="515" border="0" align="center" cellpadding="0" cellspacing="0" background="login/login_xbg.gif">
<tr>
<td><img src="login/login_top.gif" width="515" height="92" alt="" /></td>
</tr>
<tr>
<td height="115" align="center" valign="middle"><table width="350" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="87" align="right">帐    号:</td>
<td width="263" align="left"><span style="width:240px;">
<input name="UserName" type="text" class="loginBg1" id="UserName" />
</span></td>
</tr>
<tr>
<td align="right">密    码:</td>
<td align="left"><input name="Password" type="password" class="loginBg1" id="Password" /></td>
</tr>
<tr>
<td align="right">验证码:</td>
<td align="left"><table width="88" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input style="width:40px; text-align:center; font-size:15px; font-weight:bold; font-family:Arial, Helvetica, sans-serif; line-height:17px;" name="CheckCode" type="text" id="CheckCode" class="loginBg" /></td>
<td><img src="Inc/checkcode.asp" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right"> </td>
<td align="left"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input type="image" name="imageField" src="login/login_1.gif" /></td>
<td><input name="Submit" type="reset" style="background-image:url(login/login_2.gif); width:68px; height:22px; border:none" value=" " /></td>
</tr>
</table></td>
</tr>
</table>
<table style=" margin-top:8px;" width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle">默认帐号:admin</td>
<td align="center" valign="middle">默认密码:admin</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="login/login_bottom.gif" width="515" height="81" alt="" /></td>
</tr>
</table>
</form>
</body>
</html>
展开
 我来答
jiangxibaiyi
2011-04-09 · 跟随风去旅行-伤心的歌
jiangxibaiyi
采纳数:3973 获赞数:14411

向TA提问 私信TA
展开全部
<%@ LANGUAGE = VBScript.Encode %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>理想家园企业建站CMS系统</title>
<style>
td { font-size:12px;
font-family:Arial, Helvetica, sans-serif;
color:#141414;}
form { margin:0px;
padding:0px;}

.loginBg{
height:17px;
width:190px;
border:1px solid #c2c6d2;
background:#fff;
margin:1px 0;
font-family:Arial, Helvetica, sans-serif;
color:#000000;
letter-spacing: 1px;
padding-left:2px;

}.loginBg1 { height:17px;
width:190px;
border:1px solid #c2c6d2;
background:#fff;
margin:1px 0;
font-family:Arial, Helvetica, sans-serif;
color:#000000;
letter-spacing: 1px;
padding-left:4px;
}
</style>
</head>

<body style="background-image:url(login/login_bg.gif); background-repeat:repeat">
<form action="Admin_ChkLogin.asp" method="post" name="login" target="_parent" id="login">
<table style="margin-top:5%; " width="515" border="0" align="center" cellpadding="0" cellspacing="0" background="login/login_xbg.gif">
<tr>
<td><img src="login/login_top.gif" width="515" height="92" alt="" /></td>
</tr>
<tr>
<td height="115" align="center" valign="middle"><table width="350" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="87" align="right">帐 号:</td>
<td width="263" align="left"><span style="width:240px;">
<input name="UserName" type="text" class="loginBg1" id="UserName" />
</span></td>
</tr>
<tr>
<td align="right">密 码:</td>
<td align="left"><input name="Password" type="password" class="loginBg1" id="Password" /></td>
</tr>
<!--< <tr>
<td align="right">验证码:</td>
<td align="left"><table width="88" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input style="width:40px; text-align:center; font-size:15px; font-weight:bold; font-family:Arial, Helvetica, sans-serif; line-height:17px;" name="CheckCode" type="text" id="CheckCode" class="loginBg" /></td>
<td>img src="Inc/checkcode.asp" /></td>
</tr>-->
</table>
</td>
</tr>
<tr>
<td align="right"> </td>
<td align="left"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input type="image" name="imageField" src="login/login_1.gif" /></td>
<td><input name="Submit" type="reset" style="background-image:url(login/login_2.gif); width:68px; height:22px; border:none" value=" " /></td>
</tr>
</table></td>
</tr>
</table>

然后在Admin_ChkLogin.asp文件里找到验证码比对代码删除或注释掉(代码前面加英文单引号 ')
代码大致是:IF CheckCode<>Session(.......) then之类的,具体要看你的具体代码
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
好笑且不懈灬小喵3673
2011-04-09 · TA获得超过1756个赞
知道小有建树答主
回答量:529
采纳率:100%
帮助的人:389万
展开全部
" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="inc/md5.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理界面</title>
<style type="text/css">
<!--
body {
background-image: url(images/bg.gif);
margin: 0px;
background-repeat: repeat-x;
}
table,td{
font-family:"宋体";
font-size:12px;
}
.inputtext{
border-left:1px solid balck;
border-right:1px solid balck;
border-top:1px solid balck;
border-bottom:1px solid balck;
}
.loginbg {
font-size: 12px;
width: 59px;
height: 26px;
background-image: url(images/login_bg.gif);
border: none;
padding-top: 3px;
color:white;}
-->
</style>
</head>
<body>
<%
dim action
action=trim(request("action"))
select case action
case "chkadmin"
call check()
case "out"
call out()
case else
call main()
end select
sub main()
%>
<script language="javascript">
function checklogin()
{
if(document.login.username.value=='')
{alert('请输入用户名');
document.login.username.focus();
return false
}
if (document.login.password.value=='')
{alert('请输入密码');
document.login.password.focus();
return false
}
}
</script>
<table width="100%" height="98" border="0" cellspacing="0" cellpadding="0">
<form action="login.asp?action=chkadmin" name="login" method="post" onSubmit="return checklogin();">
<tr>
<td> </td>
</tr>
</table>
<table width="50%" align="center" height="34" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/admin_02.gif" width="291" height="34"></td>
</tr>
</table>
<table width="100%" height="30" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="50%" height="261" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="457" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="images/admin_05.gif" width="457" height="40" border="0" usemap="#Map"></td>
</tr>
<tr>
<td width="142" rowspan="3"><img src="images/admin_07.gif" width="142" height="221"></td>
<td width="240" valign="top"><img src="images/admin_08.gif" width="240" height="42"></td>
<td width="75" rowspan="3"><img src="images/admin_09.gif" width="75" height="221"></td>
</tr>
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
沧海雄风2009
2011-04-08 · TA获得超过1.1万个赞
知道大有可为答主
回答量:8525
采纳率:79%
帮助的人:2749万
展开全部
Admin_ChkLogin.asp这个里面改
追问


追答
不是全部代码  只是头引用文件
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式