摘要:
1 0, 'msg' => '采集图片仅支持http协议'); 18 } 19 //url validate 20 $url = filter_var($url, FILTER_VALIDATE_URL); 21 if (!$url) { 22 return array('res' => 0, 'msg' => 'url地址无效'); 23 } 24 //host filter 25 $host = strtolower(parse_url($url, ... 阅读全文