Re: SQL Graphics

From: Date: Thu, 10 Aug 2000 12:25:20 +0000
Subject: Re: SQL Graphics
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1926@lists.php.net to get a copy of this message
Wendell wrote: > > I am am using MySQL to store graphic images as blob types. I then send them out to the > web browser using the header function to display them. The problem is I have to use > the header function as the very first thing sent to the browser. I can't display > additional images after the first one because they get ignored. Is there another way > to output image (gif,jpg,png) raw data? Hi there! I actually emailed something about this the other day. Would you mind emailing me a snippet of code that actually works for retrieving the image? For some reason my humble code which simply calls Header() to set the MIME type then echo()'s the string, somehow looses 12 bytes of data between putting the image in the DB and taking it back out. Very bizarre. ): Thanks In Advance, Adam

« previous php.db (#1926) next »