0
lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
Quote:
Originally Posted by CoastPlumbing View Post
Fantastic article this is very helpful. I have currently implemented this on my site and is working.

A couple of questions though:

1. How can you add a time stamp to each IP logged.
2. Is there a way to include the geographic location of a visitor.
3. How would you implement tracking a visitors movements throughout the site.

Thanks
1. Time stamp can be added using the time() function , Check This
2. You can use the free geo ip api from IPMango to check the geographic location of a visitor
0
How to the visitors will be coming on my InfiniteVizionz website. Then how to i am using the PHP. Can you please help me.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by infinite123 View Post
How to the visitors will be coming on my InfiniteVizionz website. Then how to i am using the PHP. Can you please help me.
I just don't understand your question. Can you share what you are trying to do?
0
The Alchemist's Avatar, Join Date: Jul 2012
Go4Expert Member
Quote:
Originally Posted by shabbir View Post
Nice way to log the visitors and track them but I find the best method to store the log in database if you are using PHP to retrieve the same and display it. Writing to a file can be used by other parties to see what you may not want to display also.

Thanks
Shabbir Bhimani
Good advise.... But...
Some websites don't support mySQL... If you are logging the visitors by writing to a file, we should use the .htaccess or chmod in such a way that the file can't be read by anyone except for the owner of the site...
0
cyclop's Avatar
Go4Expert Member
Thanks for this but why would anyone would use if when everything can be tracked using Google Analytics?