pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: utomo restu <utomo@linuxmail.org>
To: pgsql-php@postgresql.org
Subject: about blobs??
Date: Fri, 27 Jun 2003 17:29:11 +0800
Message-ID: <20030627092911.18128.qmail@linuxmail.org> (raw)

Dear all, 

any body can help my problem, i am very look forward to invite my problem.
first, i was create one tabel (the table name is "pic") and i was insert 4 image
on the table. look the table like this :

latihan=# SELECT * FROM pic ;
 id |    name     | picoid |            adddate
----+-------------+--------+-------------------------------
  1 | gbr_001.png |  72591 | 2003-06-26 15:04:45.621274+07
  2 | gbr_004.png |  72593 | 2003-06-26 15:11:24.881415+07
  3 | browse.png  |  72595 | 2003-06-26 15:29:04.423781+07
  4 | bird.jpg    |  72597 | 2003-06-27 13:24:33.160357+07
(4 rows)

i was create the php skrip for display the image on browser, the php skrip from
book "Advance Web Programming PHP-Postgresql" the author is Ewald, etc: 
1. upload.php
2. input_file.php
3. detail.php

for upload file to database postgres no problem, but.....
when i display the image from browser i found error like this :

The image http://server.amq.org/~andhie/book/detail.php?id=4 cannot be displayed, because it contains errors.

please help me, how i can do this.

best regards

utomo
indonesia

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze



view thread (2+ messages)  latest in thread

Message-ID: <20030627092911.18128.qmail@linuxmail.org>
Permalink:  ../20030627092911.18128.qmail@linuxmail.org/
Also on:    postgresql.org/message-id/20030627092911.18128.qmail@linuxmail.org

 · 

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-php@postgresql.org
  Cc: utomo@linuxmail.org
  Subject: Re: about blobs??
  In-Reply-To: <20030627092911.18128.qmail@linuxmail.org>
  References: <20030627092911.18128.qmail@linuxmail.org>

* 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