質問編集履歴
1
HTML文追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,3 +52,30 @@
|
|
52
52
|
<a href="./upload_form1.php">戻る</a>
|
53
53
|
|
54
54
|
```
|
55
|
+
|
56
|
+
```html
|
57
|
+
|
58
|
+
<!DOCTYPE html>
|
59
|
+
<html lang="ja">
|
60
|
+
<head>
|
61
|
+
<meta charset="UTF-8">
|
62
|
+
|
63
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
64
|
+
<title>画像アップロードフォーム</title>
|
65
|
+
</head>
|
66
|
+
|
67
|
+
<body>
|
68
|
+
<form enctype="multipart/form-data" action="./file_upload.php" method="POST">
|
69
|
+
<div class="file-up">
|
70
|
+
<h3>画像アップロードフォーム</h3>
|
71
|
+
<p>画像を選択</p>
|
72
|
+
<input type="hidden" name="MAX_FILE_SIZE" value="52428800" />
|
73
|
+
<input type="file" name="img" accept="image/*" />
|
74
|
+
</div>
|
75
|
+
<div class="submit">
|
76
|
+
<input type="submit" value="送信" class="btn">
|
77
|
+
</div>
|
78
|
+
</form>
|
79
|
+
</body>
|
80
|
+
</html>
|
81
|
+
```
|