Download header cause zip file to be corrupt
We are making a download manager application ...
Download header cause zip file to be corrupt
Please see the code below
header("Content-type: $mimeType");
header("Content-Transfer-Encoding: Binary");
header("Content-length: ".$size);
header("Content-disposition: attachment; filename=\"".$a['name']."\"");
readfile("$pathside");
Esta é uma boa pergunta?