在news.asp中加入下面代碼:瀏覽次數: <SCRIPT language='javascript' src="../../asptohtml/counters.asp?id=<%=rs("id")%>"></SCRIPT>生成靜態頁面后:瀏覽次數: <SCRIPT language='javascript' src="../../asptohtml/counters.asp?id=730"></SCRIPT>counters.asp文件代碼: