creating download-able files?

creating download-able files?

Posted by: Darth AkSarBen
Posted on: 2009-01-03 21:28:00

How do I go about creating a spot on my website that I can put files, say a 202k pdf file there that can be downloaded. I want it to come up with the same things I see at other sites that say, do you want to open or save this file?

Thanks!
Vern
http://Taurus45ACP.com


Cheers!
Vern
http://vernsdidj.com didgeridoo info and more

Re: creating download-able files?

Posted by: Atropos7
Posted on: 2009-01-03 23:20:00

Add this to your .htaccess file.

<FilesMatch "\.(?i:pdf)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>






cool openvein.org -//-

Tags: didgeridooverncheers