Cherry
|
| Posted: 02/27/2005, 4:38 PM |
|
Hi,
I tried to use the sample code for excel export:
Header("Content-type: application/vnd.ms-excel");
Header("Content-Disposition: attachment; filename=example.xls");
Header("Pragma: ");
Header("Expires: 0");
My problem is, when I clicked on the export to excel button, and chose Open (instead of save) and excel application isn't opened yet, the file couldn't be found. But if you open first the excel application, then click on the export to excel button, the file is successfully opened.
Please help!!! Thanks! =)
|
|
|
 |
|