What I want is a little beyond of my basic knowledge on webdev.
Im looking for a way to develop a php counter to show me how much time there is an online computer on a network (as he ought to be settled by a ping to that machine i think).
example:
Computer 1: ONLINE - 02:45:02 h (still up-counting in realtime)
Given a refresh on the page, the state may change to:
Computer 1: OFFLINE - 00:00:00 h (maybe computer has turned off)
As another refreshing the page, the state may change to:
Computer 1: ONLINE - 00:00:01 h (again online, starting new count)
Ive already a ping function working.
Extra: I may need to register these changes of state in a kind of LOG, but I put that to the background for now!
edit: im asking it in php, but it could be done in a easy way, im listening you! Im srry for some english mistakes :)
I hope I have explained to me as well! Since already grateful for your attention.