wy_trip_logasp.asp
资源名称:lyxxgl.rar [点击查看]
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:1k
源码类别:
其他行业
开发平台:
ASP/ASPX
- <!--#include file="../../wy_trip_inc/wy_trip_cnn.inc" -->
- <%
- adname=request.Form("adname")
- adpassword=request.Form("adpassword")
- set rst=server.CreateObject("adodb.recordset")
- 'sql="select * from admin where adminname='"+wylog(adname)+"' and adminpassword='"+wylog(adpassword)+"'"
- sql="select * from admin where adminname='"&adname&"' and adminpassword='"&adpassword&"'"
- rst.open sql,conn,1,1
- if not (rst.eof or rst.bof) then
- pagename="../index.asp?adname="&adname
- else
- pagename="../../index.asp"
- end if
- response.Redirect(pagename)
- rst.close
- set rst=nothing
- %>