大家帮忙看看这代码错在哪?无限感激!!

[复制链接]
查看11 | 回复3 | 2008-10-20 18:35:41 | 显示全部楼层 |阅读模式
0 then isHttp=True
next
if isnull(strReferer) or isHttp=false then
Response.Write("")
Response.End
end if
dim sql
dim rs
dim username
dim password
dim code
code=replace(trim(Request("code")),"'","")
If codeCStr(session("CheckCode")) Then
Response.Write("")
Response.End
end if
username=replace(trim(request("username")),"'","")
password=md5(replace(trim(Request("password")),"'",""))
set rs=server.createobject("adodb.recordset")
sql="select * from huiyuan where username='"&username&"' andpassword='"&password&"'"
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then
if userlogck="1" and rs("senhe")="0" then
Response.Write("")
Response.End
end if
session("username")=rs("username")
session("dengji")=rs("dengji")
session.timeout=60
rs("dltime")=now()
rs.update
if logckurl="1" then
cc=Split(userckurl,"|")
Response.Redirect cc(session("dengji"))
else
Response.Redirect "" & userurl & ""
end if
else
call Error()
end if
sub Error()
Response.Write("")
Response.End
end sub
rs.close
conn.close
set rs=nothing
set conn=nothing
%>

回复

使用道具 举报

千问 | 2008-10-20 18:35:41 | 显示全部楼层
这不是QQ空间代码,他是别的论坛的代码...
回复

使用道具 举报

千问 | 2008-10-20 18:35:41 | 显示全部楼层
请把运行错误的错误信息贴出来,以便知道错在哪里...
回复

使用道具 举报

千问 | 2008-10-20 18:35:41 | 显示全部楼层
噢,不懂,是C语言?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行