首页 > Web开发 > 详细

phpspider PHP 爬虫

时间:2018-07-14 23:27:01      阅读:271      评论:0      收藏:0      [点我收藏+]

* 讨厌的注释

   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 爬虫

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!