Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: php track visitors visit times  (Read 196 times)

chenks

  • Reg Member
  • ***
  • Posts: 456
php track visitors visit times
« on: August 20, 2018, 08:06:21 AM »

does anyone know if it's possible to use php to log visit times and IP addresses on a website?
i'm just trying to get a way to see when a site is being accessed the most and from where.
Logged

d2d4j

  • Reg Member
  • ***
  • Posts: 709
Re: php track visitors visit times
« Reply #1 on: August 20, 2018, 08:31:03 AM »

Hi chenks

I am sure you already know, but the server hosting logs would already contain these details

If there is any missing details been logged, just edit the website service and tick all areas that you need logging.

There are plenty of free programs that will display details such as awstats

Many thanks

John
Logged

chenks

  • Reg Member
  • ***
  • Posts: 456
Re: php track visitors visit times
« Reply #2 on: August 20, 2018, 08:56:24 AM »

Hi chenks

I am sure you already know, but the server hosting logs would already contain these details

If there is any missing details been logged, just edit the website service and tick all areas that you need logging.

There are plenty of free programs that will display details such as awstats

Many thanks

John

where are these in IIS8? and isn't it just as easy to get php to do it with a couple of lines of code?
Logged

d2d4j

  • Reg Member
  • ***
  • Posts: 709
Re: php track visitors visit times
« Reply #3 on: August 20, 2018, 09:12:23 AM »

Hi checks

You just open iis (if 2008R2 - iis would be 7 or 7.5), click websites, click on your website, in right hand pane you will see logs listed. Double click logs and it gives you all information eg log location, what you want to log etc...

You can use php but iis would log by default unless you turn it off and web stats packages gives better human reeadable format but you need to understand certain criteria of how data is derived eg session limits for classing new visits etc...

Many thanks

John
Logged

chenks

  • Reg Member
  • ***
  • Posts: 456
Re: php track visitors visit times
« Reply #4 on: August 20, 2018, 09:35:59 AM »

it's IIS8 (windows 10 pro).
there isn't a "logs" option but a "logging" option.

it creates a lot of W3SVCx folders with log files in there.
Logged