HTML > Web programming >
When clicking a link, make sure the document is downloaded and there is no attempt for the browser to display it inline.
https://web.archive.org/web/20090301035056/http://faqts.com:80/knowledge_base/view.phtml/aid/4906
JavaScript ∞
header ∞
Content-Disposition: attachment; filename="file.pdf"

ported
I vaguely recall using this knowledge for something or other, but I don’t have an example.