Re: IMG generation

From: Date: Wed, 11 Oct 2000 19:20:26 +0000
Subject: Re: IMG generation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19677@lists.php.net to get a copy of this message
try to load the image not as part of html, mean write in the url box the location of the image and say which warrning or error u get. -- moshe. mosdoron@netvision.net.il icq: 1542485 ""Mark Olbert"" <mark@arcabama.com> wrote in message news:006901c033b7$8c121180$0201a8c0@arcabama.com... > I have an html file that looks like this: > > <html> > <img src="/php/displayimage.php"> > </html> > > When I browse this file, I get a "premature end of script headers error". > > If I execute the file from the command line and capture the output, I get > the following (I've truncated some of the later lines): > > X-Powered-By: PHP/4.0.2 > Content-type: image/jpeg > > ÿØÿà^@^PJFIF^@^A^A^@^@^A^@^A^@^@ÿþ^@;CREATOR: gd-jpeg v1.0 (using IJG JPEG > v62), quality = 30 > ÿÛ^@C^@^[^R^T^W^T^Q^[^W^V^W^^^\^[ > (B+(%%(Q:=0B`Ued_U][jx~^Y~^Ajq~^Ps[]~^Eµ~^F~^P~^^£«­ > ^KÿÄ^@µ^P^@^B^A^C^C^B^D^C^E^E^D^D^@^@^A}^A^B^C^@^D^Q^E^R!1A^F^SQa^G"q^T2~^A~ > ^Q¡)* > > This >>looks<< like image data. So why is the browser rejecting it? > > - Mark > mark@REMOVETHIS STUFF@arcabama.com > > > -- > 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 (#19677) next »