Headers, content-disposition and HTTPS+IE6

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
mchaggis
Forum Contributor
Posts: 150
Joined: Mon Mar 24, 2003 10:31 am
Location: UK

Headers, content-disposition and HTTPS+IE6

Post by mchaggis »

Hi,

I have a export to csv script, which works perfectly on all HTTP connections under all browsers, using the following headers:

Code: Select all

Header("Content-Disposition: attachment; filename=something.csv");
Header("Connection: Close");
Header("Content-Type: text/plain");
When this page is launched, you get the nice Open or Save dialogue, with the Filename displaying as desired.

How, ever, in IE6 over HTTPS, this does not happen... All that happens is that te Filename displayed is the full URL, and Content Type is blank. On clicking on either open or save you get the nice friendly message that the server could not be contacted.

Am a little confused, as it seems that IE6 is choosing to ignore whats been sent back 2 it?

Are there some extra headers I need to pass?
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Of interest?
http://bugs.php.net/bug.php?id=16173
...and perhaps...
http://support.microsoft.com/default.as ... -us;316431

I didn't look more into it myself, but I've seen the issue before.
Post Reply