質問編集履歴

3

一部の編集

2019/11/19 07:34

投稿

Res
Res

スコア184

test CHANGED
File without changes
test CHANGED
@@ -12,13 +12,15 @@
12
12
 
13
13
  ```html
14
14
 
15
- <form action="up.php" method="post" enctype="multipart/form-data">
15
+ <form action="up.php" method="post">
16
16
 
17
17
  <input type="file" name="file">
18
18
 
19
19
  <input type="submit" name="submit" value="送信">
20
20
 
21
21
  </form>
22
+
23
+ <!-- enctype="multipart/form-data" の付け忘れ -->
22
24
 
23
25
  ```
24
26
 

2

一部の編集

2019/11/19 07:34

投稿

Res
Res

スコア184

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ```html
14
14
 
15
- <form action="up.php" method="post" enctype="application/x-www-form-urlencoded">
15
+ <form action="up.php" method="post" enctype="multipart/form-data">
16
16
 
17
17
  <input type="file" name="file">
18
18
 

1

enctypeの追加

2019/11/17 13:19

投稿

Res
Res

スコア184

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ```html
14
14
 
15
- <form action="up.php" method="post">
15
+ <form action="up.php" method="post" enctype="application/x-www-form-urlencoded">
16
16
 
17
17
  <input type="file" name="file">
18
18