当前位置: 首页 > 图文教程 > 网络编程 > ASP > 完整的访问统计程序(三 应用篇)

ASP
asp中常用的文件处理函数
正确处理ASP动态网页中的容错机制
asp自动生成javascript检验函数
如何避免asp的SQL的执行效率低
编译asp应用程序成为exe文件
ASP完成小偷程序机制和简略示例
ASP技巧:rs.getrows方法
ASP简单实现数字字符混合验证码
ASP技巧 挂QQ的网页源代码ASP/PHP
ASP实例:用ASP判断文件地址是否有效
ASP实例:使用ASP生成图片彩色校验码
ASP如何跳出本次进入下一次循环
ASP读取数据库中数据到数组的类
为你的ASP程序作一个负载测试
如何用ASP来获取客户端真实IP的地址
asp脚本运行超时的解决办法
ASP缓存类 【先锋缓存类】Ver2004
ASP动态包含文件的改进方法
ASP中利用application实现缓存
ASP Application 对象用户手册

ASP 中的 完整的访问统计程序(三 应用篇)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 51 ::
收藏到网摘: n/a

  /*
  原创:豆腐
  请大家在转载和使用的时候不要修改这里
*/
/*
  static.asp
  保存统计数据
*/
<!--#include file="staticFunc.asp"-->
<%
  userid=request.querystring("userid")
  InsertData userid
%>
document.write('<a href="http://www.yourHost.com/static/show.asp?userid=roboo"><img src="/upload/tech/20091103/20091103102721_fccb60fb512d13df5083790d64c4d5dd.gif"" alt="哈哈_豆腐_统计" border=0>'</a>)
/*
  show.asp
  显示统计数据
*/
<!--#include file="staticFunc.asp"-->
<%
   userid=request.querystring("userid")
   writeDayStatic userid
   writeWeekStatic userid
   writeMonthStatic userid
   writeYearStatic userid
   WriteRecentInfo userid
%>
/*
  统计免费代码
  这个统计程序支持多用户
*/
<script language="JavaScript" src="http://www.yourHost.com/static/static.asp?userid=roboo">
</script>
/*
显示统计效果的地址如下
*/
http://www.yourHost.com/static/show.asp?userid=roboo
               /*    完        */
希望大家 就 这个 程序 和我 交流看法
文中 有 不正确 的 地方,请大家 指正