Page 1 of 1 [ 2 posts ] 

Albinoboy
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 5 Aug 2010
Age: 28
Gender: Male
Posts: 70
Location: Surrey, England

03 Sep 2010, 4:13 pm

OK, I need a PHP tracker, so something that logs some details every time someone sends a request to the server.
So I want it to log:

  • IP Address (All of it)
  • Referring Address (so if I stuck a link here, then on the log, it would say that the user is from here)
  • Requested Address (so the page they are viewing)
  • Date (easy)
  • Time (easy)


I know, I know, I could use Google to track, but that's javascript and not everyone has JS enabled.



kra17
Veteran
Veteran

User avatar

Joined: 14 Feb 2010
Age: 30
Gender: Male
Posts: 594
Location: Sweden

03 Sep 2010, 4:47 pm

http://php.net/manual/en/reserved.variables.server.php should be able to handle what you want to do. :)


_________________
:bigsmurf: :bigsmurf: