Is there a way to download multiple files at the same time with the php header? I can get one download to work but when you click another download link to start a new download it will not start. It waits until the first download is stopped or finished before the second download will start up.
header("Content-Type: application/force-download");
header("Content-Length: {$f['f_size']}");
header("Content-Disposition: attachment; filename=\"{$f['f_name']}\"");
readfile($_SERVER['DOCUMENT_ROOT']."/clients/files/$f[company_id]/$f[f_project]/$f[f_realname]");
This works fine for downloading one file at a time but when they start one, click another link to download it will not start until the previous one is done. Is there a way around this? Any suggestions on what I can do to allow more then 1 file to download at a time?
Thank you.
-Danny