Thanks for the suggestion but it's definitely not the browser. I can download multiple files from the server at once if i access them directly, but not via the PHP page.
Here's the relevant bit of the code handling the file download, can anyone see what it might be?
Code:
header("HTTP/1.1 200 OK");
header("Content-Length: $fsize");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=\"$nicename\";");
header("Content-Transfer-Encoding: binary");
if(file_exists($fpath) && $fh = fopen($fpath, "rb")){
while($buf = fread($fh, $bufsize)) {
print $buf;
fclose($fh);
}
} else {
header("HTTP/1.1 404 Not Found");
}
Bookmarks