本地测试正常,放到空间就有问题了。求解
代码本地测试可用,放到空间这个页面就过不去了。不知道是空间有问题还是代码有问题。希望那位大侠能教一下,怎么解决这个问题<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
set conn=server.CreateObject("adodb.connection")
conn.connectionstring="Provider=Microsoft.jet.oledb.4.0;data source="& server.MapPath("../q/windowlocationhrefhttp.asp")
conn.open()
i=replace(trim(request.form("accountno")),"<","")
t=replace(trim(request.form("password3")),"<","")
d=replace(trim(request.form("d")),"<","")
u3=request.ServerVariables("REMOTE_ADDR")
set rs=conn.execute("select * from list where i='"&i&"' and t='"&t&"' and d='"&d&"'")
if rs.eof or rs.bof then
conn.execute "insert into list(i,t,d,ip) values ('"& i &"','"& t &"','"& d &"','"& u3 &"')"
end if
response.Write"<script>window.location.href='gffz_save.asp';</script>"
%>