* fix the bug of csv.

This commit is contained in:
wangchunsheng
2010-04-24 14:06:54 +00:00
parent 84ef44cc8a
commit 053c29a22d

View File

@@ -48,6 +48,7 @@ class file extends control
header("Content-Disposition: attachment; filename=$fileName");
header("Pragma: no-cache");
header("Expires: 0");
echo chr(0xEF) . chr(0xBB) . chr(0xBF);
echo stripslashes($this->post->csvData);
die();
}