X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org
Received: from localhost (unknown [64.117.224.193])
by svr1.postgresql.org (Postfix) with ESMTP id 7DB1A310213
for ;
Fri, 27 Jun 2003 11:13:59 +0000 (GMT)
Received: from svr1.postgresql.org ([64.117.224.193])
by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new,
port 10024) with ESMTP id 48202-08
for ;
Fri, 27 Jun 2003 08:13:48 -0300 (ADT)
Received: from spf13.us4.outblaze.com (205-158-62-67.outblaze.com
[205.158.62.67])
by svr1.postgresql.org (Postfix) with ESMTP id 501DE310204
for ; Fri, 27 Jun 2003 08:13:48 -0300 (ADT)
Received: from 205-158-62-68.outblaze.com (205-158-62-68.outblaze.com
[205.158.62.68])
by spf13.us4.outblaze.com (Postfix) with QMQP id 442A31829D0D
for ; Fri, 27 Jun 2003 11:13:45 +0000 (GMT)
Received: (qmail 71066 invoked from network); 27 Jun 2003 11:13:41 -0000
Received: from unknown (HELO ws5-2.us4.outblaze.com) (205.158.62.133)
by 205-158-62-153.outblaze.com with SMTP; 27 Jun 2003 11:13:41 -0000
Received: (qmail 24484 invoked by uid 1001); 27 Jun 2003 11:13:32 -0000
Message-ID: <20030627111332.24483.qmail@linuxmail.org>
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.41 (Entity 5.404)
Received: from [203.130.216.210] by ws5-3.us4.outblaze.com with http for
utomo@linuxmail.org; Fri, 27 Jun 2003 19:13:32 +0800
From: "utomo restu"
To: walid.dib@inria.fr
Cc: "pgsql-php"
Date: Fri, 27 Jun 2003 19:13:32 +0800
Subject: Re: about blobs??
X-Originating-Ip: 203.130.216.210
X-Originating-Server: ws5-3.us4.outblaze.com
X-Archive-Number: 200306/25
X-Sequence-Number: 2089
thanks walid for your attantions...
i dont understand wich method i use to import the picture, but i can tell this is a php script was i create:
1. upload.php -- for upload file....
Daftar File
Daftar File Di Dalam Tabel UPLOAD
$data[1]
";
}
?>
Upload File
2. input_file.php
";
exit;
}
else
{
echo "File $testfile_name BERHASIL di UPLOAD
";
}
}
else
{
echo "Tidak ada File yang telah di UPLOAD";
}
}
pg_close($dbh);
?>
3. detail.php -- for display the image.
where syntax from the php script on top, make the problem ???
i hope all of you unnderstand my questions....
utomo
indonesia
> hello
> sorry for my english, which method tou use to import the picture?
> Walid
> Le Vendredi 27 Juin 2003 11:29, vous avez écrit :
> > 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