Description of the Bug Catching Assistant Tool: 1. The function of the class file is to monitor the operation of the search engine crawler on the website. 2. This category is PHP code and is only applicable to websites with PHP system. 3. The code does not use the database and writes the records directly in the text file. Please create a spider folder in the root directory. 4. The records generated by the code are for reference only and are not guaranteed to contain all records, because files that have not been run into this code will not be recorded. 5. This code is free code and can be copied, modified and used at will, but I hope to retain some of my copyright information. Usage: Please add the following code to the page that needs statistics and call it. Generally, the modification is in the file called globally. require(ROOT_PATH.'This file directory/cls_spider.php'); $spider=newspider(); In addition to this file, it also contains a front-end statistics file. The front-end file name can be modified at will, but please pay attention to the path to call this file. . Please modify the $viewpass value below for the front desk access password.
Expand