RE: [PHP-WIN] Output Image from Db to Browser

2005-01-18 Thread Randy Clamons
To: "MikeA" <[EMAIL PROTECTED]>, php-windows@lists.php.net > Date: Tue, Jan-18-2005 12:53 PM > Subject: RE: [PHP-WIN] Output Image from Db to Browser > > > > > -Original Message- > > From: news [mailto:[EMAIL PROTECTED] Behalf Of MikeA > > S

RE: [PHP-WIN] Output Image from Db to Browser

2005-01-18 Thread Wagner, Aaron
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of MikeA > Sent: January 17, 2005 17:31 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Output Image from Db to Browser > > > I am trying to output a JPG image to the browser without > creating a file. I have tried

Re: [PHP-WIN] Output Image from Db to Browser

2005-01-17 Thread graeme
Sorry running from memory here. You need to set your output headers to display a jpg not text. So you need something like: header("Content-type: image/jpg"); This will display the image on its own, if you need to embed the image in a web page you need a little more trickery. I'll try to look it