ukferret Posted March 23, 2007 Share Posted March 23, 2007 I have a custom made CMS with dynamic and static page all coded with the php extention and I am looking to add a visitor tracking system to the site very similar to the one which SMF uses. In my CMS I use the User Authentication script which is pre set in Dreamweaver, so member sessions are MM_Username, MM_Type and I have also set 6 other custom sessions. Here is my problem there are so many pre designed systems out there I just do not know which to choose! I would like to code it myself but connot find a good tutorial for this. The features I would require are; Guest (No sessions) tracking ie; 6 guests online (Click and you will see what pages they are at) Members, full list, when you click their name it takes you to the page they are on. List of users active today. Can anyone point me in the direction of a good tutorial or a pre made system? Cheers Kev Link to comment https://forums.phpfreaks.com/topic/43962-visitor-tracking/ Share on other sites More sharing options...
DeathStar Posted March 23, 2007 Share Posted March 23, 2007 um.. Cant think of a pre-made one but to see where the vistors are you will have to use: $pageviewing = $_SERVER['REOMTE_SCRIPT']; mysql_query("UPDATE `users` SET `pageview`='$pageviewing' WHERE `userid`='$id'"); I think.. Link to comment https://forums.phpfreaks.com/topic/43962-visitor-tracking/#findComment-213575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.