当前位置: 首页 > 图文教程 > 网络编程 > ASP > 精彩ASP-镜象站点速度测试

ASP
BytesToBstr获取的源码转换为中文的代码
PostHttpPage用asp是实现模拟登录效果的代码
asp下实现UrlEncoding转换编码的代码
GetBody asp实现截取字符串的代码
asp之GetArray提取链接地址,以$Array$分隔的代码
DefiniteUrl asp将相对地址转换为绝对地址的代码
ReplaceSaveRemoteFile 替换、保存远程图片 的代码
ReSaveRemoteFile函数之asp实现查找文件保存替换的代码
FormatRemoteUrl函数之asp实现格式化成当前网站完整的URL-将相对地址转换为绝对地址的代码
ReplaceTrim 函数之asp实现过滤掉字符中所有的tab和回车和换行的代码
CheckFile函数之asp实现检查某一文件是否存在的代码
SaveRemoteFile函数之asp实现保存远程的文件到本地的代码
FpHtmlEnCode 函数之标题过滤特殊符号的代码
GetPaing 函数之asp采集函数中用到的获取分页的代码
ScriptHtml 函数之过滤html标记的asp代码
asp实现检查目录是否存在与建立目录的函数
ShowPage 显示“上一页 下一页”等信息的封装代码
JoinChar 向地址中加入 ? 或 & 用于实现传参
CreateKeyWord asp实现的由给定的字符串生成关键字的代码
Server.Execute方法执行指定的ASP程序

精彩ASP-镜象站点速度测试


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 217 ::
收藏到网摘: n/a

  <html>

<head><link rel="stylesheet" href="FORUM.CSS">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>精彩ASP-镜象站点速度测试</title>
</head>

<body bgcolor=#006699 text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<p align="center"><img src="/upload/tech/20091103/20091103100921_2dea61eed4bceec564a00115c4d21334.gif"" width="468" height="60"><br>
</p>
<table width=173 background=../gif/tb1.gif height=25 cellspacing=0 cellpadding=0>
  <tr>
    <td align=center><font color="#FFFFFF" style="font-size:12pt">请选择最快的镜象站点</font></td>
  </tr></table>
<div align="center"></div>
<div align="center">
  <p>
    <script>
tim=1
setInterval("tim++",100)
b=1
var autourl=new Array()
autourl[1]="www.coolbel.com/zhu/index1.htm"
autourl[2]="hjha.51.net"
autourl[3]="hjha.cn.hongnet.com"
autourl[4]="hj18.myetang.com"
autourl[5]="my.yalaso.net/lang111"
autourl[6]="hjha.myrice.com"
autourl[7]="www.21jm.com/jcasp/index1.htm"
function butt(){
document.write("<form name=autof>")
for(var i=1;i<autourl.length;i++)document.write("<input type=text name=txt"+i+" size=10 value=测试中……>
=》<input type=text name=url"+i+" size=40> =》<input type=button value=GO onclick=window.open
(this.form.url"+i+".value)><br>")
document.write("<input type=submit value=刷新></form>")
}
butt()
function auto(url){
document.forms[0]["url"+b].value=url
if(tim>200)
{document.forms[0]["txt"+b].value="链接超时"}
else
{document.forms[0]["txt"+b].value="时间"+tim/10+"秒"}
b++
}
function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl[i]
+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>")}
run()</script>
  </p>
  <table width="100%" border="0">
  </table>
  <table width="100%" border="0">
    <tr bgcolor="#999999">
      <td colspan="10">
        <div align="center">≡≡技术站点连接≡≡</div>
      </td>
    </tr>
    <tr bgcolor="#CCFFCC">
      <td ><font color="#FFFFFF"><a href="http://happybook.myrice.com" target="_blank">饿狼工作室ASP极品斋
</a></font></td>
      <td ><font color="#FFFFFF"><a href="http://xdcgi.yeah.net" target="_blank">晓东CGI园地
</a></font></td>
      <td ><font color="#FFFFFF"><a href="http://www.mfcgi.com/" target="_blank">免费CGI</a></font></td>
      <td ><font color="#FFFFFF"><a href="http://zlcgi.3322.net/" target="_blank">智龙CGI</a></font></td>
      <td ><font color="#FFFFFF"><a href="http://1