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

ASP
bbs的数据结构和存储过程(二)
bbs的数据结构和存储过程(三)
聊天室自做 Follow Me
动态按钮生成器(上)
动态按钮生成器(下)
ASP直接调用EXCEL数据的例子(不用ODBC)
asp自动生成javascript检验函数
用Jmail做收取邮件附件的程序
简单的浮点论坛
ASP数据库恢复的代码
限制只能中文输入的方法
产生密码,记录到数据库,然后发送给用户。
一个基于web的QQ程序 1(xml+asp)
利用ASP生成EXECL文档
用ASP让用户访问指定页面
使用ASP程序对“HTML炸弹”进行屏蔽
实现ASP文件在线发邮件
用ASP+SQL Server为网页建一道防火墙
用Delphi开发ASP分页组件
如何在DataGrid控件中隐藏列

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 48 ::
收藏到网摘: 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/20091103102712_6602294be910b1e3c4571bd98c4d5484.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
               /*    完        */
希望大家 就 这个 程序 和我 交流看法
文中 有 不正确 的 地方,请大家 指正