php如何将网上的图片下载到本地
<?php
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=$downname");//$downname是下载后的文件名
readfile($imgname);//$imgname是你要下载的图片的路径
?>
posted on 2015-04-08 17:20 liuwenbohhh 阅读(493) 评论(0) 收藏 举报