Problems with PHPExcel_Writer_Excel5

Topics: Developer Forum, User Forum
Feb 6, 2008 at 12:27 PM
I have two problems.

1.- When I throw a popup with excel file, the window closes.
var URL = \"\";
day = new Date();
id = day.getTime();
eval(\"page\" + id + \" =, '\" + id + \"', 'toolbar=1,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=200,left = 0,top = 0');\");

2.- I have 2 reports designed to work with ajax and one of them stays "Loading" forever and file never appear.

1.- I can do the xls redirected and solve the problem.
2.- Is any flag to know if the excel file is ready ? (I've tried if($objWriter->save('file.xls')) with no results)

Thankx alot.
Feb 7, 2008 at 9:10 AM
1. Seems like the best solution?
2. No, you can, for example, write a flag to a file on your server when starting (flag=0), at the end of the script (flag=1).
Feb 20, 2008 at 7:11 AM
Might I ask how are you displaying an excel file? I'm curious how to show xls on a page.