質問です。
ダウンロードダイアログ画面を出して
ファイルをダウンロードさせたいのですが、
大きいファイルだと保存画面がでるまでかなり時間がかかります。
これは何とかなりますか??

<?php
//down.php?file=ダウンロードファイル でアクセス

download($file);

function download($file){

//ファイルサイズ
if (($content_length = filesize($file)) == 0) {
die("error1");
}

//ヘッダ送信
header("Content-Disposition: attachment; filename=\"".basename($file)."\"");
header("Content-Length: ".$content_length);
header("Content-Type: application/octet-stream-dummy");

//出力
if (!readfile($path_file)) {
die("error2");
}
}
?>