Re: svn: /phpdoc/en/trunk/reference/image/functions/ imagecreatefromwbmp.xml
| From: | Yago Ferrer | Date: | Tue, 19 Jan 2010 01:09:33 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/image/functions/ imagecreatefromwbmp.xml | ||
| References: | 1 2 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-5897@lists.php.net to get a copy of this message | ||
Hi Hannes,
I was correcting my own correction:
Revision: 293682 it was: header('Content-Type: image/png'); (wrong)
Revision: 293621 I changed to: header('Content-Type: ' .
image_type_to_mime_type(IMAGETYPE_WBMP)); (correct)
Revision: 293682 I changed again to: header('Content-type:
image/vnd.wap.wbmp'); (the same but easy to read)
Thanks!
Yago
On Mon, Jan 18, 2010 at 11:47 AM, Hannes Magnusson <
hannes.magnusson@gmail.com> wrote:
> On Mon, Jan 18, 2010 at 00:23, Yago Ferrer <yago@php.net> wrote:
> > yago Sun, 17 Jan 2010 23:23:33 +0000
> >
> > Revision: http://svn.php.net/viewvc?view=revision&revision=293682³
> > [¡È¼�ö’턞¼\ß
> >
> > Log:
> > Fixing header in example.
> >
> > Changed paths:
> > U phpdoc/en/trunk/reference/image/functions/imagecreatefromwbmp.xml
> >
> > Modified:
> phpdoc/en/trunk/reference/image/functions/imagecreatefromwbmp.xml
> > ===================================================================
> > --- phpdoc/en/trunk/reference/image/functions/imagecreatefromwbmp.xml
> 2010-01-17 23:20:55 UTC (rev 293681)
> > +++ phpdoc/en/trunk/reference/image/functions/imagecreatefromwbmp.xml
> 2010-01-17 23:23:33 UTC (rev 293682)
> > @@ -67,7 +67,7 @@
> > return $im;
> > }
> >
> > -header('Content-Type: ' . image_type_to_mime_type(IMAGETYPE_WBMP));
> > +header('Content-type: image/vnd.wap.wbmp');
>
> What was wrong with the previous method?
>
> -Hannes
>
--
Yago Ferrer