This code is creates a xlsx file :
$objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel);
$objWriter->save(str_replace('.php', '.xlsx', __FILE__));
I would like to allow visitors to visit and get the file in choosing "open or save"
Do you know how can I get this ?
Thanks in advance.