<%
//方法1:
java.util.Random random=new java.util.Random();
java.lang.Thread t=java.lang.Thread.currentThread();
java.lang.Runtime r=java.lang.Runtime.getRuntime();
String url="http://link.c06.net"; //提高访问量的页面
while(true)
{
java.lang.Process p=r.exec("C:/Program Files/Internet Explorer/IEXPLORE.EXE "+url);//打开IE浏览器
t.sleep(1000L*random.nextInt(50));
p.destroy();//关闭IE浏览器
t.sleep((long)random.nextInt(1000*2));
}
//方法2:
java.lang.Thread t=java.lang.Thread.currentThread();
String url="http://link.c06.net"; //提高访问量的页面
while(true)
{
java.net.URL obj=new java.net.URL(url);
java.io.InputStream is=obj.openStream();
is.read(new byte[1024]);
is.close();
t.sleep(1000L*10L);
}
//方法3:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>第六世纪
http://site.c06.net/ </title>
<meta http-equiv="refresh" content="10">
</head>
<body>
<iframe src="http://link.c06.net" ></iframe>
</body>
</html>
%>
搜索更多相关主题的帖子: