主题:  我帮我看一看这个文件出错了

1号蓝骑士

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2002/4/19 13:20:46
#12004/2/19 15:28:44
<!--#include file="Conn.asp"-->
<%if Request.QueryString("no"<>"eshop" then%>
<html>
<head>
<title>良精集团企业网站后台管理系统</title>
<meta name="Author" content="Hypo">
<meta name="Contact" content="Hypo@Wz163.com">
<meta name="Copyright" content="Lw163.com">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Inc/ManageMent.css" rel="stylesheet" type="text/css">
</head>
<body>

<FORM ACTION="Login.asp?no=eshop" METHOD="post">
<br>
<center>
<table width="300" border="0" cellpadding="0" cellspacing="2" class="HeaderTdStyle">
<tr>
<td height="30" colspan="2" align="center">
     <b>良精集团企业网站后台管理系统登陆</b>
     </td>
</tr>
<tr>
<td height="30" align="right">管理帐号:</td>
<td>
     <input name="Name" size=12 maxlength="20"
>
     </td>
</tr>
<tr>
<td height="30" align="right">管理密码:</td>
<td>
     <input name="Pwd" type="password" size=12 maxlength="20">
     </td>
</tr>
<tr>
<td height="30" colspan="2" align="center">
     <input name="Submit" type="submit" value="登陆系统">
</td>
</tr>
</table>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<font face="Verdana, Arial" size="1">Co Net MIB Ver 1.0 </font>&nbsp;&nbsp;Design By <a href="mailto:Hypo@Wz163.com">Hypo</a>
</p>
</center>
</form>
</body>
</html>
<%else%>
<%
pwd = request.form("pwd"
name = request.form("name"
Set rs = Server.CreateObject("ADODB.Connection"
sql = "select * from Manage_User where UserName='" & name & "' And PassWord='"&encrypt(pwd)&"'"
Set rs = conn.Execute(sql)

If Not rs.EOF = True Then
Session("Name" = rs("UserName"
Session("pwd" = rs("PassWord"
Response.Redirect("Manage.asp"
Else
Response.Redirect "Loginsb.asp?msg=您输入了错误的帐号或口令,请再次输入!"
End If
end if
%>



1号蓝骑士

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2002/4/19 13:20:46
#22004/2/19 15:43:56
xc.coolz.cn/proudct/manage/Login.asp
不能登录,帐号和密码错了也不提示



雨中的太阳

职务:普通成员
等级:1
金币:0.0
发贴:75
注册:2004/2/17 10:03:00
#32004/2/20 15:35:52
<!--#include file="Conn.asp"-->
<%if Request.QueryString("no")<>"eshop" then%>
<html>
<head>
<title>良精集团企业网站后台管理系统</title>
<meta name="Author" content="Hypo">
<meta name="Contact" content="Hypo@Wz163.com">
<meta name="Copyright" content="Lw163.com">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Inc/ManageMent.css" rel="stylesheet" type="text/css">
</head>
<body>

<FORM id="form1" METHOD="post" ACTION="Login.asp?no=eshop">
<br>
<center>
<table width="300" border="0" cellpadding="0" cellspacing="2" class="HeaderTdStyle">
<tr>
<td height="30" colspan="2" align="center">
     <b>良精集团企业网站后台管理系统登陆</b>
     </td>
</tr>
<tr>
<td height="30" align="right">管理帐号:</td>
<td>
     <input name="Name" size=12 maxlength="20"
>
     </td>
</tr>
<tr>
<td height="30" align="right">管理密码:</td>
<td>
     <input name="Pwd" type="password" size=12 maxlength="20">
     </td>
</tr>
<tr>
<td height="30" colspan="2" align="center">
     <input name="Submit" type="submit" value="登陆系统">
</td>
</tr>
</table>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<font face="Verdana, Arial" size="1">Co Net MIB Ver 1.0 </font>&nbsp;&nbsp;Design By <a href="mailto:Hypo@Wz163.com">Hypo</a>
</p>
</center>
</form>
</body>
</html>
<%else%>
<%
pwd = request.form("pwd")
name = request.form("name")
Set rs = Server.CreateObject("ADODB.Connection")
sql = "select * from Manage_User where UserName='" & name & "' And PassWord='"&encrypt(pwd)&"'"
Set rs = conn.Execute(sql)

If Not rs.EOF = True Then
Session("Name") = rs("UserName")
Session("pwd") = rs("PassWord")
Response.Redirect("Manage.asp")
Else
Response.Redirect "Loginsb.asp?msg=您输入了错误的帐号或口令,请再次输入!"
End If
end if
%>

---------------------
看以上的会不会错?



1号蓝骑士

职务:普通成员
等级:1
金币:0.0
发贴:33
注册:2002/4/19 13:20:46
#42004/2/22 16:24:41
我试过了不能用呀????
我把整个站都放在上面了,楼上帮我看一看
xc.coolz.cn/产品展示.rar
我很急用