Fwd: How to make a "Auto View" and a "Download" Link for PDF?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops

---------- Forwarded message ----------
From: Nitsan Bin-Nun <nitsanbn@xxxxxxxxx>
Date: 21 Jun 2008 19:23
Subject: Re:  How to make a "Auto View" and a "Download" Link for PDF?
To: Michelle Konzack <linux4michelle@xxxxxxxxxxxxxxx>

I am not 100 percent sure that i have understood your idea,
but if i did
you can place the PDF for online view with content-disposition header*
*>*     Content-Disposition: inline; filename=pdf1.pdf
*
replace the *inline* with *attachment* and you get the save as dialog

On 21/06/2008, Michelle Konzack <linux4michelle@xxxxxxxxxxxxxxx> wrote:
>
> ************************************************************************
> *       Do not Cc: me, because I READ THIS LIST, if I write here       *
> *    Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe    *
> ************************************************************************
>
> Hello,
>
> I generate PDFs on the fly and I like to setup TWO links on the HTML/PHP
> page for the SAME PDF:
>
>    1)  View
>    2)  Download
>
> I have seen this on other Websites, but can not figure out HOW this  was
> done.
>
> Suggestions?
>
> Thanks, Greetings and nice Day/Evening
>    Michelle Konzack
>    Systemadministrator
>    24V Electronic Engineer
>    Tamay Dogan Network
>    Debian GNU/Linux Consultant
>
>
> --
> Linux-User #280138 with the Linux Counter, http://counter.li.org/
> ##################### Debian GNU/Linux Consultant #####################
> Michelle Konzack   Apt. 917                  ICQ #328449886
> +49/177/9351947    50, rue de Soultz         MSN LinuxMichi
> +33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux