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 * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] * http://www.jikometrix.net
JIKOmetrix - Reliable web hosting
On May 20, 2006, at 6:31 PM, [EMAIL PROTECTED] wrote:
> 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?
>
> thanks,
> Riquez
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
> ~-->
> Protect your PC from spy ware with award winning anti spy
> technology. It's free.
> http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/HKFolB/TM
> --------------------------------------------------------------------
> ~->
>
> Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
SPONSORED LINKS
| Php mysql | Job postings |
YAHOO! GROUPS LINKS
- Visit your group "php-list" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
