I am using Zend Framework and trying to put excel file on the browser using the code below.
$objPHPExcel = new PHPExcel();
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
I am getting corrupted excel file. It worked when I tried to not use Zend Framework. Does anyone know what is the problem.