Re: can i display an image _directly_ from postgres db storage?

From: Date: Tue, 02 Nov 2004 14:13:25 +0000
Subject: Re: can i display an image _directly_ from postgres db storage?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-37143@lists.php.net to get a copy of this message
On Mon, 2004-11-01 at 21:36 -0600, P. George wrote: > i know that postgres has a raw binary datatype called bytea for storing > pictures and whatnot, but i'm having trouble finding an example of > displaying an image on a web page with php that is pulled directly from > the database? > > is this possible? This example uses large objects, you can try to use the same logic and use the bytea field. http://blog.planetargon.com/index.php?/archives/27_Displaying_image_from_PostgreSQL_large_object_with_PHP.html -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | robby@planetargon.com * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development * --- Now supporting PHP5 --- ****************************************/

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.db (#37143) next »