From 03ea9ff03b40006819a2efbdd3f53c7c940e323b Mon Sep 17 00:00:00 2001 From: james Date: Wed, 14 Nov 2007 22:45:50 +0000 Subject: [PATCH] Fix IE/SSL/CSV --- lcsv.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lcsv.php b/lcsv.php index 9ae3473..178a097 100644 --- a/lcsv.php +++ b/lcsv.php @@ -136,8 +136,9 @@ class lcsv $filename=ereg_replace("[^a-z0-9]","_",$filename); //header("Content-type: application/csv"); header("Content-type: text/x-csv"); + header("Content-type: text/x-csv"); header("Content-disposition: inline; filename=sfiab_".$filename.".csv"); - header("Content-length: ".strlen($this->csvdata)); + header("Pragma: public"); echo $this->csvdata; } }