質問編集履歴

1

header関数自体の仕様変更があやしい

2018/10/05 07:31

投稿

mukara668
mukara668

スコア10

test CHANGED
File without changes
test CHANGED
@@ -60,6 +60,18 @@
60
60
 
61
61
 
62
62
 
63
+ 2行目を header("Content-Type:text/plain");
64
+
65
+ 3行目を // header("Content-Disposition:attachment;filename=download.txt");
66
+
67
+ とすると表示はされます。
68
+
69
+ ちなにに if (headers-sent()) はFALSEでした。
70
+
71
+ nginxのmime-typeに application/octed-streamは定義済みです。
72
+
73
+
74
+
63
75
  ### 補足情報(FW/ツールのバージョンなど)
64
76
 
65
77