From: Volkan YAZICI <volkan.yazici@gmail.com>
To: Adam Witney <awitney@sgul.ac.uk>
Cc: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: Automatically opening pdf files stored in a bytea field
Date: Tue, 11 Oct 2005 20:56:41 +0300
Message-ID: <7104a7370510111056od33ec48kda9c0babe3d36d06@mail.gmail.com> (raw)
In-Reply-To: <BF715966.4EE66%awitney@sgul.ac.uk>
References: <BF715966.4EE66%awitney@sgul.ac.uk>
Hi,
On 10/11/05, Adam Witney <awitney@sgul.ac.uk> wrote:
> I have PDF files stored in a bytea field in the database and I want to all
> the user to click a link on the web page and have the file automatically
> opened in acrobat (or whatever they have set to read the pdf).
Look at header() function's manual page [1] for PDF files. You'll see
lots of IE related problems and their fixes there.
[1] http://tr2.php.net/manual/en/function.header.php
Regards.
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: volkan.yazici@gmail.com, awitney@sgul.ac.uk
Subject: Re: Automatically opening pdf files stored in a bytea field
In-Reply-To: <7104a7370510111056od33ec48kda9c0babe3d36d06@mail.gmail.com>
References: <BF715966.4EE66%awitney@sgul.ac.uk> <7104a7370510111056od33ec48kda9c0babe3d36d06@mail.gmail.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