码迷,mamicode.com
首页 > Web开发 > 详细

phpspider PHP 爬虫

时间:2018-07-14 23:36:20      阅读:856      评论:0      收藏:0      [点我收藏+]

标签:erro   vendor   org   contents   comm   https   code   bsp   core   

* 讨厌的注释

   https://doc.phpspider.org/demo-start.html

 ./vendor/owner888/phpspider/core/phpspider.php

/* Do NOT delete this comment */
        // 彩蛋
        $included_files = get_included_files();
        $content = file_get_contents($included_files[0]);
        if (!preg_match("#/\* Do NOT delete this comment \*/#", $content) || !preg_match("#/\* 不要删除这段注释 \*/#", $content))
        {
            $msg = "Unknown error...";
            log::error($msg);
            exit;
        }

 删掉这段恶心的代码

 

phpspider PHP 爬虫

标签:erro   vendor   org   contents   comm   https   code   bsp   core   

原文地址:https://www.cnblogs.com/mingzhanghui/p/9311283.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!