Quantcast
Channel: phpexcel to download - Stack Overflow
Browsing latest articles
Browse All 9 View Live

Answer by dancun chiriga for phpexcel to download

It is important to state that sometimes for the codeigniter folks using grocery crud v2.9 - v3, you may find that your exported excel files are corrupt and cannot be opened.You may need to actually...

View Article



Answer by luis.ap.uyen for phpexcel to download

I tried the $writer->save('php://output'); command proposed by most answers.But this happened to download a corrupted file.To fix it, I had to do this: $objWriter =...

View Article

Answer by harsimer for phpexcel to download

header('Content-type: application/vnd.ms-excel'); header('Content-Disposition: attachment; filename="file.xlsx"'); header('Cache-Control: max-age=0'); header ('Expires: Mon, 26 Jul 1997 05:00:00...

View Article

Answer by Rogerio de Moraes for phpexcel to download

FOR XLSX USESET IN $xlsName name from XLSX with extension. Example: $xlsName = 'teste.xlsx';$objPHPExcel = new PHPExcel();$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel,...

View Article

Answer by Efren Gutierrez Sosa for phpexcel to download

posible you already solved your problem, any way i hope this help you.all files downloaded starts with empty line, in my case where four emptylines, and it make a problem. No matter if you work with...

View Article


Answer by JoshStrange for phpexcel to download

Use this call$objWriter->save('php://output');To output the XLS sheet to the page you are on, just make sure that the page you are on has no other echo's,print's, outputs.

View Article

Answer by matino for phpexcel to download

$excel = new PHPExcel();header('Content-Type: application/vnd.ms-excel');header('Content-Disposition: attachment;filename="your_name.xls"');header('Cache-Control: max-age=0');// Do your stuff...

View Article

Answer by hakre for phpexcel to download

Instead of saving it to a file, save it to php://output­Docs:$objWriter->save('php://output');This will send it AS-IS to the browser.You want to add some headers­Docs first, like it's common with...

View Article


phpexcel to download

hello i am new to phpexcel, and i was wondering if there is some way send the excel i have created to the clients download without saving it on my server or to delete it right after he downloads iti am...

View Article

Browsing latest articles
Browse All 9 View Live


Latest Images