postgreSQl and images
- From: raf.news@xxxxxxxxx ("Alain Roger")
- Date: Sat, 4 Nov 2006 18:26:08 +0100
Hi,
I create a table with some large object (ref: OID) to store some images.
When my PHP will display some data, it will also display the images stored
as OID.
However, i've read that before i must restore the image by exporting them to
local (on server) file.
isn't it easier in this case, to simply store the path and file name of file
to DB and just read the data to display image on PHP pages ?
what is the purpose in this case to store image a bytea / large object ?
moreover, how my php code will load image from DB and stored there as OID ?
isn't it too much complex in comparison with just storing path and name of
image ?
thanks a lot,
Al.
- Follow-Ups:
- Re: [PHP] postgreSQl and images
- From: "Richard Lynch"
- Re: [PHP] postgreSQl and images
- From: Børge Holen
- Re: [PHP] postgreSQl and images
- Prev by Date: Re: [PHP] ChangeLog PHP 5.2.0 - Fileupload
- Next by Date: Re: [PHP] ChangeLog PHP 5.2.0 - Fileupload
- Previous by thread: ChangeLog PHP 5.2.0 - Fileupload
- Next by thread: Re: [PHP] postgreSQl and images
- Index(es):
Relevant Pages
|