RE: [PHP] How can I send a gif picture to the mobile client via php?
| From: | Mikey | Date: | Tue, 01 Mar 2005 16:53:48 +0000 |
| Subject: | RE: [PHP] How can I send a gif picture to the mobile client via php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209710@lists.php.net to get a copy of this message | ||
> Dear phpers,
> I'm using php 4.2.2 and gd version 1.8 which seems don't
> support gif pictures.
> However, I want to send a single gif picture to the client side.
> How can I do it?
>
> Any help would be appreciated.
A single gif - that you have already made?
<img src="mygif.gif">
Or, if you are using a script to generate the image and are switching
between types, after you have sent the correct headers use:
readfile ("mygif.gif");