回答編集履歴
1
補足
answer
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
header('Content-Description: File Transfer');
|
8
8
|
header('Content-Type: application/octet-stream');
|
9
9
|
header("Content-Disposition: attachment; filename=" . "ファイル名");//ダウンロードした時のファイル名
|
10
|
+
//クライアントがwinだったら、SJIS, MacならUTF8でファイル名出しわけが必要
|
10
11
|
header('Content-Transfer-Encoding: binary');
|
11
12
|
header('Expires: 0');
|
12
13
|
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|