问题描述
问题解答
回答1:header('content-type:image/jpeg');$filename = 'image.jpg';$handle = fopen($filename, 'rb+'); //读写二进制,图片的可移植性$res = fread($handle, filesize($filename));fclose($handle);echo $res;
问题描述
问题解答
回答1:header('content-type:image/jpeg');$filename = 'image.jpg';$handle = fopen($filename, 'rb+'); //读写二进制,图片的可移植性$res = fread($handle, filesize($filename));fclose($handle);echo $res;
相关文章:
网公网安备:皖ICP备2020019022号-3 Copyright ¢ 2020-2025 Powered by V1.8 All Rights Reserved 技术支持:乐呵呵网
声明:本站所有资源以学习为主