I'm going to download a *.txt file, but when the file was download, there have a unknow "Tab" in front of the data.????Please help?
$size = filesize("$file");
header ("Content-type: application/force-download");
header("Content-Length: $size");
header("Content-Disposition: attachment; filename=$file");
header("Content-Transfer-Encoding: binary");
$fh = @fopen("$file", "r");
fpassthru($fh);
exit;