forked from science-ation/science-ation
Fix IE/SSL/CSV
This commit is contained in:
parent
abe32b69ae
commit
03ea9ff03b
3
lcsv.php
3
lcsv.php
@ -136,8 +136,9 @@ class lcsv
|
|||||||
$filename=ereg_replace("[^a-z0-9]","_",$filename);
|
$filename=ereg_replace("[^a-z0-9]","_",$filename);
|
||||||
//header("Content-type: application/csv");
|
//header("Content-type: application/csv");
|
||||||
header("Content-type: text/x-csv");
|
header("Content-type: text/x-csv");
|
||||||
|
header("Content-type: text/x-csv");
|
||||||
header("Content-disposition: inline; filename=sfiab_".$filename.".csv");
|
header("Content-disposition: inline; filename=sfiab_".$filename.".csv");
|
||||||
header("Content-length: ".strlen($this->csvdata));
|
header("Pragma: public");
|
||||||
echo $this->csvdata;
|
echo $this->csvdata;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user