How to know who is online.

How to know who is online in php

Page 1 of 1

2 Replies - 1000 Views - Last Post: 08 January 2011 - 01:39 AM Rate Topic: -----

#1 pinku kumar  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 07-January 11

How to know who is online.

Posted 07 January 2011 - 11:03 PM

Hi,
Programmer.
i am doing one project in php it is basically networking project in this project one problem is that.

1Q. How can i know who is online in project.

Need help urgent.
Is This A Good Question/Topic? 0
  • +

Replies To: How to know who is online.

#2 eZACKe  Icon User is offline

  • Garbage Collector

Reputation: 120
  • View blog
  • Posts: 1,278
  • Joined: 01-June 09

Re: How to know who is online.

Posted 07 January 2011 - 11:19 PM

Sorry, you won't get an answer like this, and worse you risk your topic being closed all together.

Read the rules: we don't just give away code. We like to see a good faith effort first.

Show us what you've done and what specifically you are stuck on and then we can help from there.
Was This Post Helpful? 0
  • +
  • -

#3 creativecoding  Icon User is offline

  • Hash != Encryption
  • member icon


Reputation: 927
  • View blog
  • Posts: 3,212
  • Joined: 19-January 10

Re: How to know who is online.

Posted 08 January 2011 - 01:39 AM

My guess would to be to have the login script detect what user is logged in, then write a timestamp. Then whenever your getActive file looks into the database, have it look for timestamps that or from the last minute.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1