Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3MIV7345064 for ; Sun, 22 Apr 2001 14:31:07 -0400 (EDT) (envelope-from martin@bugs.unl.edu.ar) Received: by bugs.unl.edu.ar (Postfix, from userid 1004) id DD42D2AB23; Sun, 22 Apr 2001 15:31:49 +0300 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: =?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= To: Richard Whittaker , pgsql-php@postgresql.org Subject: Re: Help with pg_loimport Date: Sun, 22 Apr 2001 15:31:48 +0300 X-Mailer: KMail [version 1.2] References: <5.0.1.4.0.20010421150754.04f23640@excalibur.connections.yk.ca> In-Reply-To: <5.0.1.4.0.20010421150754.04f23640@excalibur.connections.yk.ca> MIME-Version: 1.0 Message-Id: <01042215314801.15755@bugs> Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/24 X-Sequence-Number: 277 On Dom 22 Abr 2001 01:09, Richard Whittaker wrote: > I posted this orignally on phpbuilder.net, but I also wanted to try here as > well... > > Thanks kindly! > Richard. > > Author: Richard Whittaker (199.247.236.117) > Date: 2001-04-21 16:15:13 > > Greetings: > > Does anyone have any examples of using the pg_loimport routines in PHP?... > > I have a requirement to be able to import a binary file (an image) into a > table that has three columns. > > The first two columns are sequence integers, and the third is an OID > column. I would like to be able, via my PHP script, to insert a new image, > with the two integers, but I don't see any examples of this for PostGres > and PHP... Is this possible to do at all?... Oh please! If someone has a small example of how to do this, I think lots of use will be gratefull!!!!! Saludos... :-) P.D.: I have send this question before, with no answer. -- El mejor sistema operativo es aquel que te da de comer. Cuida tu dieta. ----------------------------------------------------------------- Martin Marques | mmarques@unl.edu.ar Programador, Administrador | Centro de Telematica Universidad Nacional del Litoral -----------------------------------------------------------------