I'm using following php code to send zip(and rar) files to user for download,
but it doesn't display file size (in idm) and finish time and i'm not able to stop and resume it and it just download file by 1 port and totally its awful.
what do you suggest me to do ?
header('Content-Description: File Transfer');
header('Content-Type:application/octet-stream');
header('Content-Disposition: attachment;filename="'.basename($filename).'"');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma:public');
header('Content-Length:'.filesize($file_adress));
readfile($file_adress);
exit;