Re: [PHP] forcing pfds to download

2002-06-26 Thread Christian

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:[EMAIL PROTECTED]]
> Sent: Wednesday, 26 June 2002 1:42 PM
> To: [EMAIL PROTECTED]
> 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".
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] forcing pfds to download

2002-06-25 Thread Jason Wong

On Wednesday 26 June 2002 14:12, 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? 

That's still no guarantee as some browsers are able to open zip files as well 
and may offer to do so.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
We are experiencing system trouble -- do not adjust your terminal.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php