Save excel file on the web server

Topics: Developer Forum
Jul 24, 2010 at 10:15 PM

Hi,

Currently I am able to download the excel file from the web browser.

I would like to know how to save the excel file on the web server itself. Is there a way to do this?

 

Regards

jdcunha

Coordinator
Jul 25, 2010 at 11:54 AM
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
$objWriter->save('/path/on/server/filename.xlsx');
Jul 26, 2010 at 5:56 PM

That worked. Thanks!!!

 

jdcunha