Postgres Large Object

From: Date: Tue, 19 Sep 2000 15:09:02 +0000
Subject: Postgres Large Object
Groups: php.db 
Request: Send a blank email to php-db+get-2970@lists.php.net to get a copy of this message
Hi, I' m a newbie with BLOBS. I have pg-database with images in large object. I read (with php) the blob but how to see this image ? ....... pg_exec ($conn, "begin"); $handle=pg_loopen($conn,68129,"r"); $img=pg_loreadall($handle); pg_loclose($handle); pg_exec ($conn, "end"); echo "<img src=\"$img\" border=0>"; So i see only the blob like a sequence of chars Thanks, Enrico

« previous php.db (#2970) next »