Feb 6, 2003 #1 mdr227 Programmer Joined Nov 17, 2000 Messages 114 Location US Does anyone know how to use content-disposition in an html file to force the download of an MS Word document (vs opening it automatically within IE)?
Does anyone know how to use content-disposition in an html file to force the download of an MS Word document (vs opening it automatically within IE)?
Feb 6, 2003 #2 Wullie Programmer Joined Mar 17, 2001 Messages 3,674 Location GB Hi mate, You couldn't use it in a pure HTML file, it is a header that needs to be sent from a server-side language. Hope this helps Wullie http://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.mailtosanta.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell Upvote 0 Downvote
Hi mate, You couldn't use it in a pure HTML file, it is a header that needs to be sent from a server-side language. Hope this helps Wullie http://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.mailtosanta.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell