文件名称:spider
介绍说明--下载内容均来自于网络,请自行研究使用
工具说明:
1.类文件的作用是监控搜索引擎爬虫对网站的操作。
2.本类为php代码,只适用于php系统的网站。
3.代码没有使用到数据库,直接把记录写在文本文件中,请在根目录建立spider文件夹。
4.代码产生的记录,仅供参考,并不保证包含所有的记录,因为没有运行到本代码的文件是不会记录的。
5.本代码为免费代码,可以随便复制,修改使用,但是希望能保留一点我的版权信息。
使用方法:
请将需要统计的页面加入以下代码,并调用,一般修改在全局调用的文件中。
require(ROOT_PATH . ‘本文件目录/cls_spider.php’)
$spider=new spider()
除此文件外还包含一前台统计文件,前台文件名可随便修改,但是请注意下里面调用本文件的路径。
前台访问密码请修改下面的 $viewpass 值。
-Tool:
1. Class files is the role of monitoring the site search engine spiders operate.
2. This class is php code, php system is only applicable to the website.
3. Code not used to the database, write directly to the records in a text file, built in the root directory
Li spider folder.
4. The code generated records, for reference only, does not guarantee that contain all of the records, because there is no transport
Line to the code file is not recorded.
5. This code is free code that can be easily copied, modified to use but want to preserve that
My copyright information.
Usage:
Please need to add the following code in the page statistics, and calls generally modify the text in the global call
Parts of.
require (ROOT_PATH. the file directory/cls_spider.php )
$ Spider = new spider ()
In addition documents also include a statistics file front, front desk can not tamper with the file name, but please note
Think of it which is called the path of the file.
1.类文件的作用是监控搜索引擎爬虫对网站的操作。
2.本类为php代码,只适用于php系统的网站。
3.代码没有使用到数据库,直接把记录写在文本文件中,请在根目录建立spider文件夹。
4.代码产生的记录,仅供参考,并不保证包含所有的记录,因为没有运行到本代码的文件是不会记录的。
5.本代码为免费代码,可以随便复制,修改使用,但是希望能保留一点我的版权信息。
使用方法:
请将需要统计的页面加入以下代码,并调用,一般修改在全局调用的文件中。
require(ROOT_PATH . ‘本文件目录/cls_spider.php’)
$spider=new spider()
除此文件外还包含一前台统计文件,前台文件名可随便修改,但是请注意下里面调用本文件的路径。
前台访问密码请修改下面的 $viewpass 值。
-Tool:
1. Class files is the role of monitoring the site search engine spiders operate.
2. This class is php code, php system is only applicable to the website.
3. Code not used to the database, write directly to the records in a text file, built in the root directory
Li spider folder.
4. The code generated records, for reference only, does not guarantee that contain all of the records, because there is no transport
Line to the code file is not recorded.
5. This code is free code that can be easily copied, modified to use but want to preserve that
My copyright information.
Usage:
Please need to add the following code in the page statistics, and calls generally modify the text in the global call
Parts of.
require (ROOT_PATH. the file directory/cls_spider.php )
$ Spider = new spider ()
In addition documents also include a statistics file front, front desk can not tamper with the file name, but please note
Think of it which is called the path of the file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
spider\100519.txt
......\100520.txt
cls_spider.php
spider.php
spider
......\100520.txt
cls_spider.php
spider.php
spider