shenne
03-15-2005, 02:34 PM
I would like doc files and pdf files to automatically download when a link is clicked. Can this be done?
Thanks for any help
Thanks for any help
|
Click to See Complete Forum and Search --> : automatic download link shenne 03-15-2005, 02:34 PM I would like doc files and pdf files to automatically download when a link is clicked. Can this be done? Thanks for any help phpnovice 03-15-2005, 02:35 PM Sure, the easiest way is to ZIP the file first and reference the ZIPped version in your link. The only other method requires server-side code. Robert Wellock 03-16-2005, 07:22 AM Within Apache to force a document to begin downloading rather than open; set a Multipurpose Internet Mail Extensions (MIME) type to application/octet-stream within; .htaccess and that immediately prompts you for the download. AddType application/octet-stream pdf doc shenne 03-18-2005, 07:44 AM Thank you both for your help!! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |