note 47710 added to function.imagegif
| From: | F�lixCloutier | Date: | Fri, 26 Nov 2004 02:41:27 +0000 |
| Subject: | note 47710 added to function.imagegif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81042@lists.php.net to get a copy of this message | ||
Since ImageGif doesn't work on my 127.0.0.1 server (I guess it is normal, as I didn't
install GD Library...), I tried something else: I used this:
<?php
header("Content-type: image/gif");
include("banner.gif");
?>
and it returned my banner.
So my theory is that as long as you define the type of image you want to return, you can call it by
any function and it will work.
----
Manual Page -- http://www.php.net/manual/en/function.imagegif.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47710
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47710&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47710&report=yes
Search -- http://master.php.net/manage/user-notes.php