> header("Content-type: application/octet-stream");
> header("Content-Disposition: attachment; filename=file.txt");
> header("Pragma: no-cache");
> header("Expires: 0");
> print "$data";
下载的文件中包含$ data,但总是添加" null"在末尾。我做错了什么?