Total online

Started on the old forum in April 2011 · view the original in the archive · old links redirect here

3 replies · 417 views · started 15 years ago · 1 min read

2 participants
khan Lead · 681 posts #4

When a user logged in save a session with timestring and to show his total online use it like

$totonline=time()-$_SESSION['sname'];

Its just n idea made it as ur requirement...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close