...

View Full Version : how to make xml file downloadable



anuragveer
01-06-2006, 11:52 AM
well i have xml file and i want it to make downloadable but
when i do <a href=..> it simply opens the file on browser
and do not show save option as any other file wirh <a href=..>
if any body can help
thanx in advance
@nurag

marek_mar
01-06-2006, 12:10 PM
Is that a PHP file?
If you you have to send a Content-Disposition header:


header('Content-Disposition: attachement');

Place it somewhere at the top of the script.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum