Home  >  Article  >  Backend Development  >  PHP implements collection of China proxy server network

PHP implements collection of China proxy server network

墨辰丷
墨辰丷Original
2018-06-09 17:01:441668browse

This article mainly introduces PHP to implement the collection of China proxy server network. Interested friends can refer to it. I hope it will be helpful to everyone.

The example in this article describes the method of collecting China's proxy server network in PHP. The details are as follows:

list = preg_replace('/\(\*\)/', $page, $url);
    return $this->list;
  }
  /* 采集代理内容 */
  function get($page)
  {
    $this->get_list($page);
    $file = stripslashes(file_get_contents($this->list));
    $zz = '/([0-9\.]+)