bilis_money Posted March 28, 2007 Share Posted March 28, 2007 hi, i know this is very common script and i tried the search button for this forum and it shows me very incomplete procedures. can someone show me the snippet codes for this or if possible a good tutorial for this. thank you very much in advance. Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/ Share on other sites More sharing options...
ted_chou12 Posted March 28, 2007 Share Posted March 28, 2007 what you basically have to do is to store the guest's ip and the time. when the page refershes, reenter the time for that ip, and once the time diff between the current time and the old time is bigger than ten min, then the guest is offline, otherwise its online. Therefore, you need to decide whether to store the info in txt or db. Ted Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216637 Share on other sites More sharing options...
bilis_money Posted March 28, 2007 Author Share Posted March 28, 2007 thanks but can you show me some codes please. Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216645 Share on other sites More sharing options...
DeathStar Posted March 28, 2007 Share Posted March 28, 2007 Search google! We are not here to write scripts for you! Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216648 Share on other sites More sharing options...
bilis_money Posted March 28, 2007 Author Share Posted March 28, 2007 is that a friendly approach. well ok, thanks though. Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216715 Share on other sites More sharing options...
per1os Posted March 28, 2007 Share Posted March 28, 2007 http://www.phpfreaks.com/forums/index.php/topic,133362.0.html Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216736 Share on other sites More sharing options...
bilis_money Posted March 28, 2007 Author Share Posted March 28, 2007 thanks frost... Link to comment https://forums.phpfreaks.com/topic/44603-whos-online-snippet-codes/#findComment-216811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.