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

Posted by mukherjeesubrato on 05/31/06 16:21

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. ?


robert wrote:
> | <?php
> | header("Content-type: application/vnd.ms-excel; name='excel'");
> | header("Content-Disposition: filename=export.xls");
> | header("Pragma: no-cache");
> | header("Expires: 0");
>
> try:
>
> content-type: application/octet-stream
> content-disposition: attachment; filename=export.xls
> content-transfer-encoding: binary
>
> hth,
>
> me

 

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

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