From 907c394e8c1a7e2d40ab81d878ce004d4dc33596 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 14 Nov 2007 22:48:22 +0000 Subject: [PATCH] Oops relaly fix it --- lcsv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcsv.php b/lcsv.php index 178a0970..7e52e0f8 100644 --- a/lcsv.php +++ b/lcsv.php @@ -136,8 +136,8 @@ 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; }