Asp页面代码:
<%
set fs=server.createobject("scripting.filesystemobject")
file=server.mappath("count.txt")
set txt=fs.opentextfile(file,1,true)
if not txt.atendofstream then
line=txt.readline
line2=txt.readline
end if
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<p><a href="<%=line%>" target="_blank">126网站</a></p>
<p><a href="<%=line2%>" target="_blank">163网站</a> </p>
</body>
</html>
txt文件内容:
http://www.126.com/
http://www.163.com/
回复Comments
作者:
{commentrecontent}