Heim > Fragen und Antworten > Hauptteil
header("Pragma: public"); header("Cache-Control:must-revalidate, post-check=0, pre-check=0"); :application/force-download"); header("Content-Type:application/vnd.ms-execl"); header("Content-Type:application/octet-stream"); header("Content-Type: application/ download");; header('Content-Disposition:attachment;filename='.$fileName.''); header("Content-Transfer-Encoding:binary");//output $writer = IOFactory::createWriter ($ Spreadsheet, ' Verzeichnis, kann aber nicht heruntergeladen werden