2010/6/25 diana catalina tobar lara <catalina.tobar.l...@gmail.com>:
> this->getResponse()->setHttpHeader('Content-Type:','application/
> msexcel');

AFAIK this is not the proper mime type.

Try :
.xls application/vnd.ms-excel

.xls application/x-excel
.xls application/x-msexcel

To create an excel, you dont need phpexcel, but create a regular html
file, containing a table with your content, and put the excel-headers
on top.

-- 
LG,
Michael Steinböck

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to