Re: Re: Fwd: How to make a "Auto View" and a "Download" Link for PDF?
| From: | Nitsan Bin-Nun | Date: | Fri, 27 Jun 2008 20:05:50 +0000 |
| Subject: | Re: Re: Fwd: How to make a "Auto View" and a "Download" Link for PDF? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276089@lists.php.net to get a copy of this message | ||
Great.
Cheers,
Nitsan
On 25/06/2008, Michelle Konzack <linux4michelle@tamay-dogan.net> wrote:
>
> Hi Nitsan,
>
> Am 2008-06-22 22:09:38, schrieb Nitsan Bin-Nun:
> > Oops
>
> :-)
>
> > ---------- Forwarded message ----------
> > From: Nitsan Bin-Nun <nitsanbn@gmail.com>
> > Date: 21 Jun 2008 19:23
> > Subject: Re: [PHP] How to make a "Auto View" and a "Download" Link for
> PDF?
> > To: Michelle Konzack <linux4michelle@tamay-dogan.net>
> >
> > 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
>
> More simple was not possible...
> It works perfectly.
>
> 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)
>
>