Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
ODBC 驱动程序不支持所需的属性。
/webadmin/admin.asp, 第 10 行
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; QQDownload 590; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
POST 79 ??? /webadmin/admin.asp
UserName=waphktx&Password=1008606&twapp=7285419&Submit=+%C8%B7%26nbsp%3B%C8%CF+
源码我是这样写的:
<!-- #include file="conn.asp" -->
<%
admin=Request("username")
password=Request("password")
twapp=Request("twapp")
if admin="'or'='or'" or admin="or=or" then response.redirect "hhh.asp"
Set Rs = Server.CreateObject("Adodb.Recordset")
Sql = "SELECt * FROM adminguli WHERe username='" &admin&"' and password='" &password &"' and twapp='" &twapp_admin&"'"
Rs.Open Sql,conn,1,1
if not (rs.bof and rs.eof) then
Session.Timeout=999
session("username")=admin
Session("password")=password
session("twapp")=twapp_admin
rs.Close
Set rs = Nothing
response.Redirect "admin_index.asp"
else
rs.Close
Set rs = Nothing
response.redirect "index.asp"
end if
%>