質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,3 +21,157 @@
|
|
21
21
|
そのようなことはありえるのでしょうか?
|
22
22
|
|
23
23
|
無知で申し訳ございませんが、よろしくお願い致します。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
【追記】
|
30
|
+
|
31
|
+
情報不足で申し訳ございません。
|
32
|
+
|
33
|
+
ログを残す記述はここにしております。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```ここに言語を入力
|
38
|
+
|
39
|
+
// 処理前にPOST値をログ出力する(ディスク容量に注意)
|
40
|
+
|
41
|
+
ob_start();
|
42
|
+
|
43
|
+
echo date("Y/m/d H:i:s")
|
44
|
+
|
45
|
+
. " : " . @$_SERVER['HTTP_REFERER']
|
46
|
+
|
47
|
+
. " : " . @$_SERVER["REMOTE_ADDR"]
|
48
|
+
|
49
|
+
. " : " . @$_SERVER['HTTP_USER_AGENT'] . "\n";
|
50
|
+
|
51
|
+
var_dump($_POST);
|
52
|
+
|
53
|
+
$out = ob_get_contents();
|
54
|
+
|
55
|
+
ob_end_clean();
|
56
|
+
|
57
|
+
$log_filename = sprintf("confirm_post_%8d.log", date("YmdHi")); // 1分単位のログ
|
58
|
+
|
59
|
+
file_put_contents($log_filename, $out,FILE_APPEND);
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
実際に残るログは以下です。
|
66
|
+
|
67
|
+
```ここに言語を入力
|
68
|
+
|
69
|
+
2020/07/24 13:01:28 : http://www.XXX.com/reservation/confirm.php?rand_str=FwHysf2x : 49.104.XXX.XXX : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
|
70
|
+
|
71
|
+
array(24) {
|
72
|
+
|
73
|
+
["email"]=>
|
74
|
+
|
75
|
+
string(24) "XXXXXXX@hotmail.com"
|
76
|
+
|
77
|
+
["mobile"]=>
|
78
|
+
|
79
|
+
string(12) "XXXXXXXXXXX"
|
80
|
+
|
81
|
+
["nationality"]=>
|
82
|
+
|
83
|
+
string(5) "XXXXXX"
|
84
|
+
|
85
|
+
["residence"]=>
|
86
|
+
|
87
|
+
string(5) "XXXXXXXXX"
|
88
|
+
|
89
|
+
["arrival"]=>
|
90
|
+
|
91
|
+
string(10) "2020/07/24"
|
92
|
+
|
93
|
+
["departure"]=>
|
94
|
+
|
95
|
+
string(10) "2020/07/28"
|
96
|
+
|
97
|
+
["startdate"]=>
|
98
|
+
|
99
|
+
string(10) "2020/07/26"
|
100
|
+
|
101
|
+
["enddate"]=>
|
102
|
+
|
103
|
+
string(10) "2020/07/26"
|
104
|
+
|
105
|
+
["accommodation"]=>
|
106
|
+
|
107
|
+
string(26) "XXXXXXXXXXXXXXX"
|
108
|
+
|
109
|
+
["numbers"]=>
|
110
|
+
|
111
|
+
string(1) "1"
|
112
|
+
|
113
|
+
["course1"]=>
|
114
|
+
|
115
|
+
string(35) "XXXXXXXXXXXXXXXXXXXX"
|
116
|
+
|
117
|
+
["last_name1"]=>
|
118
|
+
|
119
|
+
string(13) "XXXXXXXXXXXXXXX"
|
120
|
+
|
121
|
+
["birth_day1"]=>
|
122
|
+
|
123
|
+
string(9) "XXXXXXXXXXXXXXXXX"
|
124
|
+
|
125
|
+
["sex1"]=>
|
126
|
+
|
127
|
+
string(4) "Male"
|
128
|
+
|
129
|
+
["certified1"]=>
|
130
|
+
|
131
|
+
string(21) "XXXXXXXXXXXXXXXXXXXXXXX"
|
132
|
+
|
133
|
+
["experience1"]=>
|
134
|
+
|
135
|
+
string(3) "100"
|
136
|
+
|
137
|
+
["last1"]=>
|
138
|
+
|
139
|
+
string(10) "2020/02/14"
|
140
|
+
|
141
|
+
["equipment1"]=>
|
142
|
+
|
143
|
+
string(8) "XXXXXXXXXXXXXXXXX"
|
144
|
+
|
145
|
+
["height1"]=>
|
146
|
+
|
147
|
+
string(19) "XXXcm / XXkg / XXcm"
|
148
|
+
|
149
|
+
["XXX1"]=>
|
150
|
+
|
151
|
+
string(6) "Normal"
|
152
|
+
|
153
|
+
["foodallergy1"]=>
|
154
|
+
|
155
|
+
string(7) "nothing"
|
156
|
+
|
157
|
+
["HiddenMailSendOK"]=>
|
158
|
+
|
159
|
+
string(10) "mail_is_ok"
|
160
|
+
|
161
|
+
["httpReferer"]=>
|
162
|
+
|
163
|
+
string(52) "http://www.XXX.com/reservation/input.html"
|
164
|
+
|
165
|
+
["btnMailSend"]=>
|
166
|
+
|
167
|
+
string(5) "Agree"
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
```
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
認識違いでしたら申し訳ございません。
|
176
|
+
|
177
|
+
よろしくお願い致します。
|