
- 帖子
- 82
- 积分
- 263
- 金钱
- 39
- 在线时间
- 10 小时
- 注册时间
- 2010-1-15
- 最后登录
- 2010-9-10

|
php抓蜘蛛的代码,生成日志文件,仅2.34K。
使用方法:
将本代码加入要统计的文件中,其中路径改为你的路径
<!--#include file="路径/stat.php" -->
蜘蛛访问后系统会生成日志文件放在:/目录log/data/下。
察看日志请访问:http://网址/目录/log.php
可以识别:Google蜘蛛B,Google蜘蛛A,百度蜘蛛,微软蜘蛛,inktomi蜘蛛,openbot蜘蛛,Alexa蜘蛛,yahoo蜘蛛,Survey蜘蛛等。
图片:

下载 |
|