You are here: Re: Excel export problem in IE « All PHP « IT news, forums, messages
Re: Excel export problem in IE

Posted by robert on 05/31/06 17:11

<mukherjeesubrato@gmail.com> wrote in message
news:1149092504.824125.297630@y43g2000cwc.googlegroups.com...
| If I change the application/vns.ms-excel to octet-stream it outputs the
| result on the page itself. Not sure what is missing for saving it as
| excel file. ?

you aren't saving it as anything. you're having the browser perceive it as
something. it makes a determination as to what action to take based on the
headers you specify.

try:

content-type: application/force-download

see if that helps.

in the end, you can really only help a browser along its way...it will do
what it wants to do or think it should do. is ie displaying it as an excel
doc with in the browser at least?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация