oh yes. i forget to add the helper in the controller.
now the link will create a .xls file for download.

but the .xls has problem and cannot be opened normally. =.=
i am working on cakephp1.2

-------------------------------------------------------------------------------------------

then i try to follow another ExcelHelper
http://cakephp.rainhand.com/excel-helper/

in the view, i change the
$excel->createConfig($path = WWW_ROOT . “file/tmp/”, $filename = “auto”);
to
$excel->createConfig($path = "c:\\", $filename = "auto");

this time an .xls file is created. but this method create a .xls directly on
my local drive without prompting a download dialogue box =.=

is there any other simple way to create a .xls file for user to download.

thx very much for your kind help

kit


-- 
View this message in context: 
http://n2.nabble.com/Create-.xls-file-tp2363713p2367952.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to