forked from Wavyzz/dolibarr
Mise a jour librairie php_writeexcel en 0.3.0 (la prcdente ne fonctionne pas en php5)
This commit is contained in:
@@ -19,7 +19,8 @@ for ($col=0;$col<50;$col++) {
|
||||
|
||||
$workbook->close();
|
||||
|
||||
header("Content-Type: application/x-msexcel");
|
||||
header("Content-Type: application/x-msexcel; name=\"example-bigfile.xls\"");
|
||||
header("Content-Disposition: inline; filename=\"example-bigfile.xls\"");
|
||||
$fh=fopen($fname, "rb");
|
||||
fpassthru($fh);
|
||||
unlink($fname);
|
||||
|
||||
Reference in New Issue
Block a user