Errors regarding Web Crawler in PHP
问题 I am trying to create a simple web crawler using PHP that is capable of crawling .edu domains, provided the seed urls of the parent. I have used simple html dom for implementing the crawler while some of the core logic is implemented by me. I am posting the code below and will try to explain the problems. private function initiateChildCrawler($parent_Url_Html) { global $CFG; static $foundLink; static $parentID; static $urlToCrawl_InstanceOfChildren; $forEachCount = 0; foreach($parent_Url_Html