Re: HELP! WAP/WBMP + PHP

From: Date: Fri, 08 Sep 2000 08:59:06 +0000
Subject: Re: HELP! WAP/WBMP + PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-15845@lists.php.net to get a copy of this message
The thing is that i've already added the MIME type to the config file. It still refuses to work. Could you give me an exampleo n how would send the header if i serve it from PHP script? /Anders "Paul K Egell-Johnsen" <pkej@ez.no> skrev i meddelandet news:0009081009240G.00889@vogol.ez.no... > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#15845) next »