More information about the Underscore mailing list

[_] Content Disposition Header

Matt Kane ascorbic at gmail.com
Thu Oct 4 15:48:01 BST 2007

On 4 Oct 2007, at 15:27, nik lazell wrote:

> Thanks for all the replies.. no luck so far, and my php isn't very
> good so having to research some of the answers (fpassthru for
> instance). Thanks again.

Your other option is to use apache directives rather than php.  
Something this in your .htaccess may do the trick:

<Files *.pdf>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>




--
Matt Kane, Lead Developer, Clementine
http://www.clevr.com/
http://www.clementine.info/

Clementine is a trading name of Sphex LLP