Tips:点此可运行HTML源码

php获取图片并输出

演示地址

<?php
    header("content-type:image/gif");
    $str=file_get_contents("example_image.gif");
    echo $str;

//End_php

posted @ 2012-06-21 11:00  Zjmainstay  阅读(735)  评论(0编辑  收藏  举报