[UPHPU] I hate MSIE!

Jon Jensen jon at jenseng.com
Thu Sep 14 17:46:38 MDT 2006


A couple thoughts/ideas...

1. IE does content-sniffing and often ignores headers if it thinks they are
incorrect. A common example is if you serve up an HTML doc as text/plain, IE
will render it as HTML and not text. So if IE thinks your CSV file is
something other than a CSV file, that might explain the issue. Do a test
case with an extremely simple CSV file.

2. I'd play around with the header some more, as that may be the issue. Try
these if you haven't done so already:

header('Content-Type: text/plain');
header('Content-Disposition: attachment; filename="'.$name.'"');

3. Put a CSV file on your Windows server and try downloading it directly.
See if you get the same result.

4. Install the LiveHttpHeaders extension in Firefox (if you haven't
already). Although IE is the one with problems, it should help you pinpoint
the issue. Compare all headers sent from the two servers and see how they
are different... maybe there are some differences in the Apache config that
you have overlooked.

5. Check your Internet Zone settings in IE. Perhaps the Windows server is in
a different zone than the Fedora one, so it's treating file downloads
differently.

Good luck!

Jon



More information about the UPHPU mailing list