RE: Re[2]: [PHP] Re: jpeg Uploader issue
| From: | Mike R | Date: | Tue, 13 Jan 2004 17:31:47 +0000 |
| Subject: | RE: Re[2]: [PHP] Re: jpeg Uploader issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174470@lists.php.net to get a copy of this message | ||
> Hello Mike,
>
> Tuesday, January 13, 2004, 2:55:44 PM, you wrote:
>
> >> In PHP you would set the Content-type header like so:
> >> header("Content-type: image/jpeg");
>
> MR> So, should I write that header to the actual image file prior
> to the image
> MR> itself?
>
> You should output it to the browser prior to the image data itself.
>
That's what I kind of thought, but this is a case where the browser is
opening the image directly - there is no html code or placement in an html
page.
-Mike