pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aristeu Gil Alves Junior <arisjr@terra.com.br>
To: pgsql-sql@postgresql.org
Subject: Blob Upload
Date: Tue, 21 Nov 2000 11:07:32 -0200
Message-ID: <00a801c053bc$033d9b20$aa14b0c8@caras> (raw)

I´m trying  to upload a gif image from a web interface (apache/php) without
success.
I´m using the input type ="file".
Have someone already made this work?

And even when I try to upload from the SQL interface of Tkl PgAccess... :
The table:
CREATE TABLE    images (name VARCHAR[30] , img OID);

SQL Command
INSERT INTO images (name, img) VALUES (´img01.gif´ ,
lo_import(´/images/test.gif´) );

....it brings up the error:
ERROR: array_in: Need to specify dimension

Any help will be of great value.
Thanks to all.

Best Regards
****************************************************
Aristeu Gil Alves Junior<arisjr@terra.com.br>
IT Analyst
Porto Alegre/RS - Brasil
****************************************************
"Communications without intelligence is noise;
Intelligence without communications is irrelevant."
Gen. Alfred. M. Gray, USMC




view thread (3+ messages)  latest in thread

Message-ID: <00a801c053bc$033d9b20$aa14b0c8@caras>
Permalink:  ../00a801c053bc$033d9b20$aa14b0c8@caras/
Also on:    postgresql.org/message-id/00a801c053bc$033d9b20$aa14b0c8@caras

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: arisjr@terra.com.br
  Subject: Re: Blob Upload
  In-Reply-To: <00a801c053bc$033d9b20$aa14b0c8@caras>
  References: <00a801c053bc$033d9b20$aa14b0c8@caras>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox