如题,为什么用迅雷下载的时候是个空的。php文件,我怎么能够屏蔽掉迅雷,只用IE浏览器下载就可以了
$title = $lottName.'.txt';
header("Content-Type: application/force-download;charset='".CHARSET."'" );
header("Content-Disposition:attachment;filename=".$title);
header("Content-Transfer-Encoding: binary");
$str = str_replace('<br/>', "\r\n", $str);
$str = str_replace(' ', " ", $str);
echo $str;
$title = $lottName.'.txt';
header("Content-Type: application/force-download;charset='".CHARSET."'" );
header("Content-Disposition:attachment;filename=".$title);
header("Content-Transfer-Encoding: binary");
$str = str_replace('<br/>', "\r\n", $str);
$str = str_replace(' ', " ", $str);
echo $str;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货