摘要: 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, ... 阅读全文
posted @ 2013-12-10 17:03 朴一辰 阅读(318) 评论(0) 推荐(0) 编辑