我有一封信件,从某一目录的档案中产生一 files。 在下载之后,许多用户的手稿是空的。 然而,对于其他用户来说,档案是空的。 难道我会错做什么呢?
header( Content-type: application/zip );
header( Content-Disposition: attachment; filename=" .$id. .zip" );
header( Cache-Control: private );
ob_clean();
flush();
readfile("".$id.".zip");
exit;