note 5430 modified in ImageGif by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 15:05:32 +0000 |
| Subject: | note 5430 modified in ImageGif by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6039@lists.php.net to get a copy of this message | ||
This is how you load and display an image file:
<?
Header("Content-Type: image/gif");
$fn=fopen("./imagefile.gif","r");
fpassthru($fn);
?>
Note that there are no new-lines in the content type header.
http://www.php.net/manual/function.imagegif.php