PHP 扒皮工具
摘要:
下载样式文件中的图片//note 设置PHP超时时间set_time_limit(0);//note 取得样式文件内容$styleFileContent = file_get_contents('images/style.css');//note 匹配出需要下载的URL地址preg_match_all("/url\((.*)\)/", $styleFileContent, $imagesURLArray);//note 循环需要下载的地址,逐个下载$imagesURLArray = array_unique($imagesURLArray[1]);forea 阅读全文
posted @ 2012-04-01 11:59 书飞雨 阅读(227) 评论(0) 推荐(0)
浙公网安备 33010602011771号