retrieving images stored by php / pgsql

From: geert(dot)pille(at)vandemoortele(dot)com (Gerard H(dot) Pille)
To: pgsql-odbc(at)postgresql(dot)org
Subject: retrieving images stored by php / pgsql
Date: 2005-04-23 19:43:45
Message-ID: 41b04c0d.0504231143.49fd929f@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hallo,

I have stored images (gif, jpeg, png and others) in a bytea column
using pg_escape_bytea ( file_get_contents (...)).

Now I would like to retrieve (and show) these images, but using
unixODBC. I have no problem retrieving them using pgsql, but the
images are damaged when I try to do it with odbc.

What would be the correct way, if it is at all possible?

Thanks,

Gerard

Browse pgsql-odbc by date

  From Date Subject
Next Message Marko Ristola 2005-04-24 07:15:03 Re: [PERFORM] Joel's Performance Issues WAS : Opteron vs Xeon
Previous Message lothar.behrens 2005-04-23 17:55:34 Re: Bound column and serial datatype question