質問編集履歴
3
イメージ画像
title
CHANGED
File without changes
|
body
CHANGED
@@ -29,4 +29,4 @@
|
|
29
29
|
|
30
30
|
ブラウザ側のタイムアウト(Chrome)
|
31
31
|
|
32
|
-

|
2
Chromeのタイムアウト画面を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,4 +23,10 @@
|
|
23
23
|
```
|
24
24
|
|
25
25
|
Apache2.4
|
26
|
-
PHP5.6 (CakePHP3.2)
|
26
|
+
PHP5.6 (CakePHP3.2)
|
27
|
+
|
28
|
+
---
|
29
|
+
|
30
|
+
ブラウザ側のタイムアウト(Chrome)
|
31
|
+
|
32
|
+

|
1
微修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
```PHP
|
13
13
|
ini_set('max_execution_time', 7200);
|
14
14
|
set_time_limit(0);
|
15
|
-
header('Content-Type: application/zip;');
|
16
|
-
header('Content-Disposition: attachment;filename="huge.zip"');
|
17
15
|
|
18
16
|
// ZIPファイル生成のとても時間がかかる処理
|
19
17
|
|
18
|
+
header('Content-Type: application/zip;');
|
19
|
+
header('Content-Disposition: attachment;filename="huge.zip"');
|
20
20
|
$file = fopen($zip, 'r');
|
21
21
|
while(!feof($file)) echo fread($file, 8192);
|
22
22
|
fclose($file);
|