Re: forcing pfds to download

From: Date: Wed, 26 Jun 2002 18:09:07 +0000
Subject: Re: forcing pfds to download
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-103920@lists.php.net to get a copy of this message
Thanx, but I don't have a choice, The client uploads them as a pdf and I need to keep it simple for end users. Plus I'd still love to know how it's done. Peter wrote:
I know tis a pain in the butt to do .. but wouldn't it be easier if you wanted to force a down load to zip the file(s) first? that way making them down load the gipped file? -----Original Message----- From: Jason Wong [mailto:php-general@gremlins.com.hk] Sent: Wednesday, 26 June 2002 1:42 PM To: php-general@lists.php.net Subject: Re: [PHP] forcing pfds to download On Tuesday 25 June 2002 23:58, Christian wrote:
Hi all, I'd like to be able for force all browsers to prompt to save a pdf file (not just display it) Can this be done?
Yes, but does not work with 100% of browsers. At least some versions of IE won't play ball and try to display your file regardless of what you tell it to do.
I'm sure there's some headers I can send to force the browser to treat the pdf file this way but I've searched without any luck.
Search archives. Probably for "force downloads".


« previous php.general (#103920) next »