shenhp 发表于 2018-12-24 06:36:16

php获取远程网站图片并保存本地

  php获取远程网站图片并保存本地
$image = file_get_contents('http://www.php100.com/uploadfile/2013/1220/thumb_420_240_20131220014732896.jpg');
file_put_contents('image.jpg', $image);//Where to save the image


页: [1]
查看完整版本: php获取远程网站图片并保存本地