teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

追記

2015/08/04 08:51

投稿

hogetail
hogetail

スコア46

title CHANGED
File without changes
body CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  monitor.hoge.com という監視ページを作成して、そこに php でアクセスログの情報を整理して表示したいです。
15
15
 
16
- file_get_contents を利用して取得したい。
16
+ file_get_contents, fopen のいずれかを利用して取得したい。
17
17
  取得する先のログファイルは
18
18
  `/var/log/nginx/hoge.com.access.log`
19
19
  です。

2

タイトルの変更

2015/08/04 08:51

投稿

hogetail
hogetail

スコア46

title CHANGED
@@ -1,1 +1,1 @@
1
- nginx の アクセスログからリファラ、IPの情報を取得したい
1
+ php で nginx の アクセスログからリファラ、IPの情報を取得したい
body CHANGED
File without changes

1

やや変更

2015/08/04 08:26

投稿

hogetail
hogetail

スコア46

title CHANGED
File without changes
body CHANGED
@@ -13,4 +13,9 @@
13
13
 
14
14
  monitor.hoge.com という監視ページを作成して、そこに php でアクセスログの情報を整理して表示したいです。
15
15
 
16
+ file_get_contents を利用して取得したい。
17
+ 取得する先のログファイルは
18
+ `/var/log/nginx/hoge.com.access.log`
19
+ です。
20
+
16
21
  ご回答お待ちしております。