:<%
if instr(Request.ServerVariables("HTTP_REFERER"),"www.abc.com")<>0 then %>
<SCRIPT language='JavaScript'>window.open('http://www.abc.net');</SCRIPT>
<%end if
%>
后来我改了一下:<%
if instr(Request.ServerVariables(HTTP_REFERER),"www.abc.com")<>0 then %>
<SCRIPT language='JavaScript'>window.open('http://www.abc.net');</SCRIPT>
<%end if
%>就显示:
<%
if instr(Request.ServerVariables(HTTP_REFERER),"www.abc.com")<>0 then
Response.Write "<SCRIPT language='JavaScript'>window.open('http://www.abc.net');</SCRIPT>"
end if
%>