Re: Automatically opening pdf files stored in a bytea field

From: Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com>
To: Adam Witney <awitney(at)sgul(dot)ac(dot)uk>
Cc: pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: Automatically opening pdf files stored in a bytea field
Date: 2005-10-11 17:56:41
Message-ID: 7104a7370510111056od33ec48kda9c0babe3d36d06@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,

On 10/11/05, Adam Witney <awitney(at)sgul(dot)ac(dot)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.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Adam Witney 2005-10-11 19:47:38 Re: Automatically opening pdf files stored in a bytea
Previous Message operationsengineer1 2005-10-11 15:52:37 Re: Automatically opening pdf files stored in a bytea