Re: Tracking all visits to the page

From: J.O. Aho <user_at_example.net>
Date: Tue, 14 Oct 2014 21:42:14 +0200
Message-ID: <ca5cjoFm7aiU1_at_mid.individual.net>


On 14/10/14 21:21, Thor wrote:
>
> $result = mysqli_query($link,"SELECT * FROM video1");
> $rows = mysqli_num_rows($result);
>
> $ipadd=$_SERVER['REMOTE_ADDR'];
>
> mysqli_query($link,"INSERT INTO video1 (ipadd,hits) VALUES ('".$ipadd."',1)
> ON DUPLICATE KEY UPDATE hits=hits+1")
> or die(mysqli_error());
>
> mysqli_close($link);
>
>
> This much works as expected. How can I best retrieve the value that
> shows all of the visitors as well? Not just unique visitors.

Go to piwik.org and you get a tool made for tracking.

-- 

  //Aho
Received on Tue Oct 14 2014 - 21:42:14 CEST

Original text of this message