Link to a file stored in a database (PostgreSQL)

From: re ert <matlab21(at)yahoo(dot)es>
To: pgsql-php(at)postgresql(dot)org
Subject: Link to a file stored in a database (PostgreSQL)
Date: 2002-05-27 10:30:41
Message-ID: 20020527103041.23439.qmail@web12602.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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/

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Andrew McMillan 2002-05-27 10:54:59 Re: Link to a file stored in a database (PostgreSQL)
Previous Message Eckhard Hoeffner 2002-05-27 09:30:36 Re: Help in connecting to a database with PHP