|
-
Jun 7th, 2005, 09:15 AM
#1
Thread Starter
Fanatic Member
Stop IE automatically opening CSV files
How do I stop IE from automatically opening CSV files in a new browser and instead give the option to save to disc?
-
Jun 7th, 2005, 10:28 AM
#2
Fanatic Member
Re: Stop IE automatically opening CSV files
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);
?>
-
Jun 17th, 2005, 03:31 AM
#3
Thread Starter
Fanatic Member
Re: Stop IE automatically opening CSV files
thanks, but im sure theres a setting on the users pc rather tahn through code, any ideas anyone?
-
Jun 17th, 2005, 10:16 AM
#4
Fanatic Member
Re: Stop IE automatically opening CSV files
i did a search in the registry, and found nothing!
did you try that first seggestion?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|