<?php
$file = fopen('a.jpg',"w");//打开文件准备写入
fwrite($file,$res);//写入,$res为图片二进制内容
fclose($file);//关闭
php保存图片二进制内容到本地
猜你喜欢
转载自blog.csdn.net/weixin_42330073/article/details/86004610
今日推荐
周排行