Re: Re: File Download Headers
| From: | tedd | Date: | Fri, 16 Jun 2006 10:36:03 +0000 |
| Subject: | Re: Re: File Download Headers | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238151@lists.php.net to get a copy of this message | ||
At 1:44 AM -0400 6/16/06, Chris Shiflett wrote:
>Richard Lynch wrote:
>>It is possible that all "modern" browsers have given
>>in to whichever johnny-come-lately 'standard' made
>>up the Content-disposition header.
>
>The original RFC for it is dated June 1995, so it's not too recent. There are plenty of
>useful aspects of HTTP not defined in RFC 2616.
>
>>Content-type: application/octet-stream
>
>There's no reason you can't use both.
>
>Chris
Chris:
Barry says you can use these three:
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
Richard says only use this one:
header("Content-type: application/octet-stream");
And, you say use both. Which both?
tedd
--
------------------------------------------------------------------------------------
http://sperling.com http://ancientstones.com http://earthstones.com