Re: Excel export problem in IE
- From: mukherjeesubrato@xxxxxxxxx
- Date: 31 May 2006 09:21:44 -0700
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
.
- Follow-Ups:
- Re: Excel export problem in IE
- From: robert
- Re: Excel export problem in IE
- References:
- Excel export problem in IE
- From: mukherjeesubrato
- Re: Excel export problem in IE
- From: robert
- Excel export problem in IE
- Prev by Date: Re: Excel export problem in IE
- Next by Date: Re: Excel export problem in IE
- Previous by thread: Re: Excel export problem in IE
- Next by thread: Re: Excel export problem in IE
- Index(es):
Relevant Pages
|