質問編集履歴

3

修正

2020/01/27 05:50

投稿

zcraft
zcraft

スコア17

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  header('Content-type: application/octet-stream');
30
30
 
31
- header('Content-Disposition: filename="'.$downloadFileName);
31
+ header('Content-Disposition: filename='.$downloadFileName);
32
32
 
33
33
  header('Content-Length: '.filesize($path));
34
34
 

2

構文エラー修正

2020/01/27 05:50

投稿

zcraft
zcraft

スコア17

test CHANGED
File without changes
test CHANGED
@@ -20,9 +20,9 @@
20
20
 
21
21
  ```ここに言語を入力
22
22
 
23
- $downloadPath = /xxx/xxx/;
23
+ $downloadPath = '/xxx/xxx/';
24
24
 
25
- $downloadFileName = xxx.mp4;
25
+ $downloadFileName = 'xxx.mp4';
26
26
 
27
27
  $path = $downloadPath.$downloadFileName;
28
28
 

1

構文エラーの修正

2020/01/27 05:43

投稿

zcraft
zcraft

スコア17

test CHANGED
File without changes
test CHANGED
@@ -20,9 +20,9 @@
20
20
 
21
21
  ```ここに言語を入力
22
22
 
23
- $downloadPath = /xxx/xxx/
23
+ $downloadPath = /xxx/xxx/;
24
24
 
25
- $downloadFileName = xxx.mp4
25
+ $downloadFileName = xxx.mp4;
26
26
 
27
27
  $path = $downloadPath.$downloadFileName;
28
28