首页>计算机>思科认证>学习教程>正文
网管员如何自动选择最快服务器的代码

www.zige365.com 2008-8-18 15:34:10 点击:发送给好友 和学友门交流一下 收藏到我的会员中心

<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="5;url=./">
<title>自动选择最快站点</title>
</head>
<center>
<br>
<p>
<br>
<font color=blue size=7><br><br>
请稍候,正在选择速度最快站点......</p>

<script>
i=1
var autourl=new Array()//要测试的站点
autourl[1]="http://waha.3322.net"
autourl[2]="http://www.sina.com.cn"
autourl[3]="http://www.baron.com.cn"

function auto(url)
{
if(i){i=0;top.location=url}
}

function run()
{
for(var i=1;i<autourl.length;i++)
document.write("<ccid_file values="+autourl[i]+" width="1" height="1" onerror=auto("+autourl[i]+") />")
}

run()
</script>

</body>
</html>

我要投稿 新闻来源: 编辑: 作者:
相关新闻
我当时初学ORACLE认证时写的一些笔记
国外公司的Oracle DBA试题
ORACLE认证基础:ORACLE系统概述
Oracle常用函数列表速查
启动Oracle常见疑难问题分析
Oracle数据库中的“锁”学习小结