Opera and Mozilla generate and download just fine. IE (tried 6 and 7) throw message:
Internet Explorer cannot download index.php?pid=download from www.mysite.com
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Do you have ideas what is the reason IE cant get the file from stream?
John Huseinovic - 2009-08-18 07:03:24 - In reply to message 3 from Kufa
all the code headers and everything else the other guys said is 100% correct... only problem in IE is; it won't allow BUTTONS to activate the download... so you need to convert it to a <a href=...> link.
John Ralph - 2009-11-04 03:28:08 - In reply to message 8 from John Ralph
I inserted the header statements suggested by argo naut. IE no longer throws errors, but I never get the file downloaded...even though the IE warning banner tells me the site is trying to download a file. Probably some obscure setting in IE, but can't find it.