How do I stop IE from automatically opening CSV files in a new browser and instead give the option to save to disc?
Printable View
How do I stop IE from automatically opening CSV files in a new browser and instead give the option to save to disc?
well, the only way i know how to do this is by using a scripting language like PERL, PHP, ASP, JSP, exc...
for php use this:
PHP Code:<?php
$file = 'path/your_file.xxx';
header('Content-Type: application/x-download');
header('Content-Disposition: attachment; filename=' . $file);
print file_get_contents($file);
?>
thanks, but im sure theres a setting on the users pc rather tahn through code, any ideas anyone?
i did a search in the registry, and found nothing!
did you try that first seggestion?