[QUOTE]<!--#include file="conn.asp"-->
<%
ip=request.servervariables("http_x_forwarded_for")
if ip="" then ip=request.servervariables("remote_addr")
set rs=server.createobject("adodb.recordset")
rs.open"select * from yong_2 where ip='"&ip&"'",conn,1,1
if rs.recordcount<>0 then
response.cookies("udbyygysos")("name")=rs("name")
response.cookies("udbyygysos")("mima")=rs("mima")
response.cookies("udbyygysos")("waihao")=rs("waihao")
response.cookies("udbyygysos")("xingbie")=rs("xingbie")
response.cookies("udbyygysos")("csny")=rs("csny")
response.cookies("udbyygysos")("dianhua")=rs("dianhua")
response.cookies("udbyygysos")("ip")=rs("ip")
response.cookies("udbyygysos")("youxiang")=rs("youxiang")
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
dim qq
if request.cookies("udbyygysos").haskeys then
qq="我的信息"
else
qq="登陆"
end if
%>[/QUOTE]
[flash][/flash]