Re: Re: File Download Headers

From: Date: Fri, 16 Jun 2006 10:44:24 +0000
Subject: Re: Re: File Download Headers
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-238153@lists.php.net to get a copy of this message
tedd schrieb:
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 Either my three or the one richard mentioned.
Both are ok! :) Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#238153) next »