List:General Discussion« Previous MessageNext Message »
From:Vladas Lapinskas Date:March 16 1999 11:17am
Subject:Re: about image
View as plain text  
	<IMG SRC='http://your.server.com/cgi-bin/image.cgi?id=12345'>

	You have to send header 

	Content-Type: image/gif

	in your script and then send image byte-by-byte. It is fairly easy
could be done in PHP3.

---
Vladas Lapinskas, mailto:lapinskas@stripped

On Tue, 16 Mar 1999, Naveen Nalam wrote:

> 
> I haven't looked into storing images myself, but I'm curious as to how I'd
> display the images if a person were using a CGI script. How are the images
> retrieved and then displayed to someone in a web browser?
> 
> -naveen
> 
> On Tue, 16 Mar 1999, kalle volkov wrote:
> 
> > hi!
> > 
> > create table images (ID int, image longblob);
> > insert into images values(1, 'imagerource_with_slashes');
> > ;)
> > 
> > regs,
> > cal6
> > 
> > 
> > Liu Peng wrote:
> > > 
> > > May I store image in MySQL database. How can I do it.
> > > 
> > > Thanks a lot.
> > > 
> > > ---------------------------------------------------------------------
> > > To request this thread, e-mail mysql-thread314@stripped
> > > To unsubscribe, e-mail the address shown in the
> > > List-Unsubscribe header of this message.
> > > For additional commands, e-mail: mysql-help@stripped
> > 
> > ---------------------------------------------------------------------
> > To request this thread, e-mail mysql-thread315@stripped
> > To unsubscribe, e-mail the address shown in the
> > List-Unsubscribe header of this message.
> > For additional commands, e-mail: mysql-help@stripped
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To request this thread, e-mail mysql-thread316@stripped
> To unsubscribe, e-mail the address shown in the
> List-Unsubscribe header of this message.
> For additional commands, e-mail: mysql-help@stripped
> 

Thread
about image(Liu Peng)16 Mar
  • Re: about imagekalle volkov16 Mar
    • Re: about imageNaveen Nalam16 Mar
      • Re: about imageVladas Lapinskas16 Mar
      • Re: about imagekalle volkov16 Mar