答案:在线用户列表显示文件list.asp
<%
dim onliuser,onlinum
onliuser=application("onliuser")
onlinum=(len(onliuser)-len(replace(onliuser,"','","")))/3+1
%><html><head><title>在线名单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.p9 { font-size: 9pt}
a:visited {color: #0000FF; text-decoration: none}
a:link { color: #0000FF; text-decoration: none}
a:hover{ color: #ff0000;}
-->
</style>
</head><body bgcolor=ffebd9><p align=center>在线名单[<% =onlinum %>人]
<p class='p9'>
<a href=><script>
for (var i=0;i<parent.list.length;i++) delete parent.list[i]
parent.list=new Array(<% =mid(onliuser,2) %>);
luser();
function luser(){
parent.list.sort();
for (var i=0;i<parent.list.length;i++){
document.write("<a href=> }
}
document.write ("<br><br><a href=></script>
出错信息文件error.asp
<%
mess=request("mess")
response.write "<center>"&mess&"<br><br><a href=>
上一个:action.js,动作处理文件
下一个:释放被踢IP文件releip.asp