Re: [PHP] Sending XML to MSIE7

2008-02-18 Thread Richard Lynch
On Fri, February 15, 2008 10:03 am, Shawn McKenzie wrote: > Brian Dunning wrote: >>> Isn't it enough to send it with Content-Type: >>> application/octet-stream ? > > Do you want the user to download the file? Try using: > 'Content-Disposition: attachment; filename="..."' Apologies in advance to o

Re: [PHP] Sending XML to MSIE7

2008-02-18 Thread Richard Lynch
If IE does anything other than a file download with application/octet-stream, it's very broken indeed... Does your URL end in .xml? Often IE "assumes" the Content-type is not correct, and runs with the idea that the end of the URL in 8.3 notation is what the file REALLY is. On Fri, February 15,

Re: [PHP] Sending XML to MSIE7

2008-02-15 Thread Shawn McKenzie
Brian Dunning wrote: > I just tried that, and unfortunately the MSIE7 toolkit behavior was the > same. Darn, I had high hopes for your suggestion as soon as I read it. I > fear this means there's little we can do server-side in PHP, except to > choose something other than XML for the result. > >

Re: [PHP] Sending XML to MSIE7

2008-02-15 Thread Peter Ford
Stut wrote: > Brian Dunning wrote: >> I just tried that, and unfortunately the MSIE7 toolkit behavior was >> the same. Darn, I had high hopes for your suggestion as soon as I read >> it. I fear this means there's little we can do server-side in PHP, >> except to choose something other than XML for

Re: [PHP] Sending XML to MSIE7

2008-02-15 Thread Stut
Brian Dunning wrote: I just tried that, and unfortunately the MSIE7 toolkit behavior was the same. Darn, I had high hopes for your suggestion as soon as I read it. I fear this means there's little we can do server-side in PHP, except to choose something other than XML for the result. You shou

Re: [PHP] Sending XML to MSIE7

2008-02-15 Thread Brian Dunning
I just tried that, and unfortunately the MSIE7 toolkit behavior was the same. Darn, I had high hopes for your suggestion as soon as I read it. I fear this means there's little we can do server-side in PHP, except to choose something other than XML for the result. On Feb 14, 2008, at 11:56

Re: [PHP] Sending XML to MSIE7

2008-02-14 Thread Per Jessen
Brian Dunning wrote: > Does anyone know if there's a way to send XML to MSIE7 and avoid > having MSIE mangle the XML with CSS to display it pleasantly as HTML? > Isn't it enough to send it with Content-Type: application/octet-stream ? /Per Jessen, Zürich -- PHP General Mailing List (http://ww

[PHP] Sending XML to MSIE7

2008-02-14 Thread Brian Dunning
Does anyone know if there's a way to send XML to MSIE7 and avoid having MSIE mangle the XML with CSS to display it pleasantly as HTML? I'm building a PHP web service that returns XML to a desktop app that uses the MSIE7 toolbox, and so it is not able to interpret the XML due to this Windows