質問編集履歴
2
コードブロック追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,6 +42,12 @@
|
|
42
42
|
|
43
43
|
<?php
|
44
44
|
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
|
50
|
+
|
45
51
|
#######################################################################################
|
46
52
|
|
47
53
|
### # PHPカウンタープログラム
|
@@ -54,9 +60,7 @@
|
|
54
60
|
|
55
61
|
# 改造や改変は自己責任で行ってください。
|
56
62
|
|
57
|
-
#######################################################################################
|
63
|
+
#######################################################################################
|
58
|
-
|
59
|
-
```
|
60
64
|
|
61
65
|
header("Content-Type: text/html;charset=UTF-8");
|
62
66
|
|
1
コードはコードブロックで囲う
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,13 +14,19 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
**出力先**
|
17
|
+
**出力先**index.php****
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
```
|
18
22
|
|
19
23
|
<div class="mt-7 cf"style="">
|
20
24
|
|
21
25
|
<iframe src="../count/count.php" height="70" width="140" frameborder="0" scrolling="no" style="float:right;">
|
22
26
|
|
23
27
|
</iframe></div>
|
28
|
+
|
29
|
+
```
|
24
30
|
|
25
31
|
|
26
32
|
|
@@ -38,11 +44,7 @@
|
|
38
44
|
|
39
45
|
#######################################################################################
|
40
46
|
|
41
|
-
##
|
42
|
-
|
43
|
-
# PHPカウンタープログラム
|
47
|
+
### # PHPカウンタープログラム
|
44
|
-
|
45
|
-
#
|
46
48
|
|
47
49
|
# IPアドレスで判定していますので、同一IPアドレスではカウントされませんが、
|
48
50
|
|
@@ -52,11 +54,9 @@
|
|
52
54
|
|
53
55
|
# 改造や改変は自己責任で行ってください。
|
54
56
|
|
57
|
+
#######################################################################################こ
|
55
58
|
|
56
|
-
|
57
|
-
|
59
|
+
```
|
58
|
-
|
59
|
-
#######################################################################################
|
60
60
|
|
61
61
|
header("Content-Type: text/html;charset=UTF-8");
|
62
62
|
|
@@ -72,15 +72,9 @@
|
|
72
72
|
|
73
73
|
<meta name='robots' content='noindex,nofollow'>
|
74
74
|
|
75
|
-
<title></title>
|
76
75
|
|
77
|
-
<style type="text/css">/*id、classは振ってあります。スタイルシートは自由に編集してください*/
|
78
76
|
|
79
|
-
#total,#count{text-align:center;color:#777;font-size:12px;font-family:"ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, Osaka, "MS Pゴシック"}
|
80
77
|
|
81
|
-
#total,.count{font-size:14px;}
|
82
|
-
|
83
|
-
.count{color:#36C}
|
84
78
|
|
85
79
|
</style>
|
86
80
|
|
@@ -152,10 +146,16 @@
|
|
152
146
|
|
153
147
|
</html>
|
154
148
|
|
149
|
+
```
|
150
|
+
|
155
151
|
|
156
152
|
|
157
153
|
**DAT**
|
158
154
|
|
159
155
|
**count.dat**
|
160
156
|
|
157
|
+
```
|
158
|
+
|
161
159
|
2012/09/30,0,0,0,127.0.0.1
|
160
|
+
|
161
|
+
```
|