为什么本机可以测试成功,传到空间就说没有权限啊
yesun 2003-08-29 04:25:47 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
function Checkip()
{
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET","http://www.bliao.com:2000/ip.phtml",false);
xmlhttp.send();
var clientIP=xmlhttp.responseText
alert("你的IP:"+xmlhttp.responseText)
var BanIp=new Array("21","20","61");
for(i=0;i<BanIp.length;i++){
if((new RegExp("^"+BanIp[i].replace(".","\\."),"g")).test(clientIP)){alert("你的IP属于被封IP");break;}
}
}
Checkip()
</SCRIPT>
</body>
</html>