I have written this code to export data to a text file and asks user
to save generated file. It works with Firefox perfectly, but IE shows
content of file instead of prompting the download window.
How can I force IE to show the download dialog?

Header("Content-disposition: attachement; filename=data.txt");
Header("Content-type: text/plain");
echo $some_data;

Ali Asghar Torabi

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to