pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: re ert <matlab21@yahoo.es>
To: pgsql-php@postgresql.org
Subject: Link to a file stored in a database (PostgreSQL)
Date: Mon, 27 May 2002 12:30:41 +0200 (CEST)
Message-ID: <20020527103041.23439.qmail@web12602.mail.yahoo.com> (raw)

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/



view thread (2+ messages)  latest in thread

Message-ID: <20020527103041.23439.qmail@web12602.mail.yahoo.com>
Permalink:  ../20020527103041.23439.qmail@web12602.mail.yahoo.com/
Also on:    postgresql.org/message-id/20020527103041.23439.qmail@web12602.mail.yahoo.com

 · 

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: matlab21@yahoo.es
  Subject: Re: Link to a file stored in a database (PostgreSQL)
  In-Reply-To: <20020527103041.23439.qmail@web12602.mail.yahoo.com>
  References: <20020527103041.23439.qmail@web12602.mail.yahoo.com>

* 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