i download it directly and it was good and this in the localhost and in my Site do you know how can i solve it
Code: Select all
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-control: public");
header("Content-Description: File Transfer");
header('HTTP/1.1 206 Partial Content');
header('Accept-Ranges: bytes');
header("Content-Transfer-Encoding: binary");
header("Content-length: ".filesize($filename));
header('Content-type: application/zip');
header("Content-Disposition: attachment; filename=\"" . basename($filename) . "\"");