|
Hmm. I just tried it out, and, for some reason, rather than prompting the user to save/open the file, it simply included the content of the file ahead of the content on my page.
It's actually a dump of an SQL database, so I tried saving it as an SQL file instead of a txt file, and wound up with the same result. Rather than prompting the user to download the file, it simply prints the content of the file at the top of the page.
Is there something I can change in the header information in order to make the browser realize I want the user to be prompted for open/save, rather than simply printing the content?
If not, I guess I'll have to figure out how to dynamically archive the file into a tar archive or something, and then open the file.
__________________
I hate Internet Explorer! Anyone with me?
|