欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2022-09-14 09:13:39
/*  原创:豆腐  请大家在转载和使用的时候不要修改这里*//*  static.  保存统计数据...
/*
  原创:豆腐
  请大家在转载和使用的时候不要修改这里
*/
/*
  static.
  保存统计数据
*/
<!--#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="/edu/uploadpic/2007-12/2007129132746404.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
               /*    完        */
希望大家 就 这个 程序 和我 交流看法
文中 有 不正确 的 地方,请大家 指正