質問編集履歴

2

修正

2017/10/05 08:32

投稿

ougy
ougy

スコア22

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  Error 500'
14
14
 
15
-
15
+ ```php
16
16
 
17
17
  URL:http://localhost/sample.php
18
18
 
@@ -66,6 +66,10 @@
66
66
 
67
67
  </html>'
68
68
 
69
+ ```
70
+
71
+
72
+
69
73
 
70
74
 
71
75
  実行時のURLはhttp://localhost/sample.phpとなっています

1

URLとコードを追記しました

2017/10/05 08:32

投稿

ougy
ougy

スコア22

test CHANGED
File without changes
test CHANGED
@@ -4,22 +4,68 @@
4
4
 
5
5
 
6
6
 
7
- Server error!
7
+ 'Server error!
8
8
 
9
9
  サーバ内部で障害が発生し、 リクエストに応えることができませんでした。 サーバが過負荷であるか、 CGI スクリプトにエラーがあります。
10
10
 
11
11
  サーバーの障害と思われる場合は、ウェブ管理者までご連絡ください。
12
12
 
13
- Error 500
13
+ Error 500'
14
14
 
15
15
 
16
16
 
17
- コード
17
+ URL:http://localhost/sample.php
18
18
 
19
- <?php
19
+ '<?php
20
20
 
21
21
  header("Location : http://localhost/template.php");
22
22
 
23
23
  exit;
24
24
 
25
- ?>
25
+ ?>'
26
+
27
+
28
+
29
+ URL:http://localhost/template.php
30
+
31
+ '<!DOCTYPE html>
32
+
33
+ <html>
34
+
35
+ <head>
36
+
37
+ <title>会員登録画面</title>
38
+
39
+ <meta charset="UTF-8">
40
+
41
+ </head>
42
+
43
+ <body>
44
+
45
+ <h2>会員登録フォーム</h2>
46
+
47
+ <form action="confirm.php" method="post">
48
+
49
+ 姓:<input type="text" name="l_name" value="" /><br/>
50
+
51
+ 名:<input type="text" name="f_name" value="" /><br/>
52
+
53
+ パスワード:<input type="text" name="password" value="" /><br/>
54
+
55
+ 生年月日:<input type="text" name="birth_date" value="" /><br/>
56
+
57
+ 出身県:<input type="text" name="prefecture" value="" /><br/>
58
+
59
+ 年齢:<input type="text" name="age" value="" /><br/>
60
+
61
+ <input type="submit" value="送 信" /><br/>
62
+
63
+ </form>
64
+
65
+ </body>
66
+
67
+ </html>'
68
+
69
+
70
+
71
+ 実行時のURLはhttp://localhost/sample.phpとなっています