More information about the Underscore mailing list

[_] Content Disposition Header

nik lazell niklazell at gmail.com
Thu Oct 4 16:14:26 BST 2007

Thanks Rich, I'll give that a try this afternoon.



On 04/10/2007, Richard Davey <rich at corephp.co.uk> wrote:
>
> For IE I'd force this content-type:
>
>     header('Content-Type: application/octet-stream');
>     header("Content-Length: $filesize");
>     header('Content-Disposition: attachment; filename="' . $filename . '"');
>     header('Content-Transfer-Encoding: binary');
>     fpassthru($fp);
>     fclose($fp);
>     exit;
>