Hi,
You will want to use a separate table not the user table since this
will be scratch data. If you want to display split values for users
and guests assign everyone an ID from the new table and place that in
a cookie var. By using a cookie you can see if a visitor has been to
the site
> On May 20, 2006, at 6:31 PM, [EMAIL PROTECTED] wrote:
>
> > I'd like to add a "who's online" section to my home made forum.
> > When a user logs-in they are given a session $_SESSION['user']
> > (containing their username) for the duration of their stay.
> >
> > How can I use PHP to list all
Hi,
You'll have to write your data to a table since other users will have
query the table to count how many entries are live. You'll also have
to figure out how to deal with people who leave the site.
Sincerely,
Mike
--
Mike Brandonisio * Web Hosting
Tech One Illustration
Hi,
I'd like to add a "who's online" section to my home made forum.
When a user logs-in they are given a session $_SESSION['user']
(containing their username) for the duration of their stay.
How can I use PHP to list all of the currently active 'user' sessions
that the system has created?