通过 file_get_contents 输出图片

$url='http://static.assets.local.51rwb.com/caibeitv/html/caibeitv_hao/dev/images/logo.png';
$content= file_get_contents($url,true);
header("Content-Type: image/jpeg;text/html; charset=utf-8");
echo $content;die;
posted @ 2016-09-19 19:57  秋风落叶.  阅读(1001)  评论(0编辑  收藏  举报