如何实现下载次数记录?用ASP实现

来源:百度知道 编辑:UC知道 时间:2024/05/18 07:01:48

<script>

function fakecounter(){

//decrease/increase counter value (depending on perceived popularity of your site!)
var decrease_increase=-50000

var counterdate=new Date()
var currenthits=counterdate.getTime().toString()
currenthits=parseInt(currenthits.substring(2,currenthits.length-4))+decrease_increase

document.write("你已经是第 <b>"+currenthits+"</b> 位访问本站的网友,欢迎你的光临!")
}
fakecounter()
</script>

跟浏览次数一样统计不就行了,有防盗链的,还原一下真实地址不就行了

2006年 04月 03月 02月 01月
2005年 12月 11月 10月 09月 08月 07月 06月 05月 04月 03月 02月 01月
2004年 12月 11月 10月 09月 08月 07月 06月 05月 04月 03月 02月 01月
2003年 12月 11月 10月 09月 08月 07月 06月 05月 04月 03月 02月 01月
2002年 12月 11月 10月 09月 08月 07月 06月 05月 04月 03月 02月 01月