Re: HELP! WAP/WBMP + PHP
| From: | Paul K Egell-Johnsen | Date: | Fri, 08 Sep 2000 08:09:24 +0000 |
| Subject: | Re: HELP! WAP/WBMP + PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15841@lists.php.net to get a copy of this message | ||
On Fri, 08 Sep 2000, Anders Dannberg wrote:
> Does anyone know what i'm doing wrong here?
> If, and where, should i add the header("content-type:image/vnd.wap.wbmp")
> line??
If the server knows about that mime type (you might have to configure
apache), and the image is served directly from the filesystem, then you won't
need the header.
If you serve the image via a php script, you will have to send the header
info as the first info from that page, then the binary info from the picture.
--
Paul K Egell-Johnsen