Re: [PHP] how to retrieve pictures from postgreSQL DB

2007-02-28 Thread Chris
tedd wrote: At 5:12 PM -0600 2/27/07, Richard Lynch wrote: Personally, I think your first mistake was putting the image into the DB at all. Unless you're the CIA doing pixel comparisons actually in SQL stored procedures or something. :-) Richard: I highly respect your opinion and on this lis

Re: [PHP] how to retrieve pictures from postgreSQL DB

2007-02-28 Thread tedd
At 5:12 PM -0600 2/27/07, Richard Lynch wrote: Personally, I think your first mistake was putting the image into the DB at all. Unless you're the CIA doing pixel comparisons actually in SQL stored procedures or something. :-) Richard: I highly respect your opinion and on this list you provide

Re: [PHP] how to retrieve pictures from postgreSQL DB

2007-02-27 Thread Richard Lynch
As another option, you could, in theory, use mime_magic or the new fileinfo or I think there's a GD function to "guess" at the type... Personally, I think your first mistake was putting the image into the DB at all. Unless you're the CIA doing pixel comparisons actually in SQL stored procedures o

Re: [PHP] how to retrieve pictures from postgreSQL DB

2007-02-25 Thread tedd
At 8:31 PM +0100 2/25/07, Alain Roger wrote: Hi, I previously sent email about process how to retrieve and save pictures in postgreSQL DB. Now i know how to save them in DB, however i would like to know how can i retrieve the pictures and display them without knowing the picture extension ? i m

[PHP] how to retrieve pictures from postgreSQL DB

2007-02-25 Thread Alain Roger
Hi, I previously sent email about process how to retrieve and save pictures in postgreSQL DB. Now i know how to save them in DB, however i would like to know how can i retrieve the pictures and display them without knowing the picture extension ? i mean that in my DB i have GIFs, JPGs pictures.