Page 1 of 1
tracking visitors
Posted: Thu Jan 05, 2012 4:01 pm
by Vegan
I was wondering, any easy way to count new vistors and count return visitors
I envision 2 counter text files, newbies and returnies
I can use a cookie to detect a returning visitor
Re: tracking visitors
Posted: Fri Jan 06, 2012 1:08 am
by Christopher
You could use a text file, but perhaps a database like SQLite might be better.
Re: tracking visitors
Posted: Mon Jan 09, 2012 6:29 pm
by Vegan
I am using Windows server, so databases are hard to connect to at the best of time
Re: tracking visitors
Posted: Tue Jan 10, 2012 1:27 am
by Christopher
That's why I recommended SQLite. It is file based and very fast -- and you can use SQL to access the data. Just uncomment the .dll in php.ini and give it a try.
Re: tracking visitors
Posted: Thu Jan 12, 2012 7:31 pm
by Vegan
I have SQL server installed, any ideas to get that working with PHP?
Re: tracking visitors
Posted: Thu Jan 12, 2012 9:20 pm
by Christopher
Check the PHP documentation and comments.