摘要: //将远程图片读取到本地,并保存function grap_Image($url) { if($url=="") return false;$filename = md5($url) . '.jpg';if(file_exists($filename)){return $filename;}ob_start(); readfile($url); $img = ob_get_contents(); ob_end_clean(); $size = strlen($img); $fp2=@fopen($filename, "a"); fwrit 阅读全文
posted @ 2012-11-30 10:22 小伍BLOG 阅读(487) 评论(0) 推荐(0) 编辑