Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 15E13475C22 for ; Mon, 27 May 2002 06:30:40 -0400 (EDT) Received: from web12602.mail.yahoo.com (web12602.mail.yahoo.com [216.136.173.225]) by postgresql.org (Postfix) with SMTP id D4352475C3E for ; Mon, 27 May 2002 06:30:38 -0400 (EDT) Message-ID: <20020527103041.23439.qmail@web12602.mail.yahoo.com> Received: from [213.229.156.145] by web12602.mail.yahoo.com via HTTP; Mon, 27 May 2002 12:30:41 CEST Date: Mon, 27 May 2002 12:30:41 +0200 (CEST) From: =?iso-8859-1?q?re=20ert?= Subject: Link to a file stored in a database (PostgreSQL) To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200205/91 X-Sequence-Number: 1223 Hi: I want store files in PostgreSQL and retrieve it without put files in a temp directory. For example, PHP can create image files with: header("Content-type: image/gif"); and call this file image.php ... each time somebody calls this file, PHP must create the image. I need do the same but with a file stored in a database. For example, I want store a PDF file in a database and could get it with a link. Thanks a lot. Xevi. _______________________________________________________________ Copa del Mundo de la FIFA 2002 Disfruta en vídeo de los mejores momentos desde tu ordenador. http://fifaworldcup.yahoo.com/fc/es/