RE: [PHP] Passing header info for use in downloading files...?
| From: | Chris Shiflett | Date: | Tue, 11 Nov 2003 17:21:05 +0000 |
| Subject: | RE: [PHP] Passing header info for use in downloading files...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169193@lists.php.net to get a copy of this message | ||
--- Erik Osterman <e@osterman.com> wrote:
> Look's correct... you could consider adding
> Header("Content-transfer-encoding: binary");
Because Content-transfer-encoding is not a valid HTTP header, this will
have no effect. Content-Encoding and Transfer-Encoding are valid headers,
but binary is not a valid value for either of those.
See RFC 2616 section 19.4.5 for more information.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp