Page 1 of 1

Counting Visitor

Posted: Thu Mar 17, 2011 9:37 pm
by chann_soung
I am having a problem in my current project now. I want to write script to count visitor to a website and group into:
- Today
- Yesterday
- This Week
- Last week.
I way I want to count is to count each visitor by starting to browser and stop browsing the page.
So is there any solution that can be done to accomplish this? Thank in advance.

Re: Counting Visitor

Posted: Fri Mar 18, 2011 9:35 pm
by gully_mi_seh
do you want to use a database or just a external file?

Re: Counting Visitor

Posted: Tue Mar 22, 2011 10:43 am
by akuji36
Hello

Take a look at the following link:

http://ubuntuforums.org/showthread.php?t=791585

and a look at the php time function which can reflect current , past, and future dates:

http://www.youtube.com/watch?v=X8OQMwhdI5M