<% url="" if request("id")="" then response.write "±§Ç¸£¬³ö´íÀ²!" response.End() end if set rs=server.createobject("adodb.recordset") sql="select * from url where id="&request("id") rs.Open sql,conn,1,1 if not rs.eof and not rs.bof then url=rs("url") end if rs.close set rs=nothing if url<>"" then response.Redirect url else response.write "±§Ç¸£¬³ö´íÀ²!" end if %>