| |
|
 |
Users Online by: bs0d |
|
Comments:
| gravy |
| Subject: "awesome"
Date: Jun 10 2007 at 12:52 pm
|
|
|

|
Qucik Easy,
Effective, nice
little added
feature to my
website took
about 3 minutes
to do....
|
| malamute |
| Subject: "Online Users"
Date: Dec 20 2007 at 5:00 am
|
|
|
|
|
Finally, you
can add alot to
this code, and
use the table
to show
"who&quo
t; is online as
well.
Hi - would love
some help on
how to add this
facility to the
above code.
Thanks a mil
!!!!
Also, I need to
add a facility
to my page
where I can
delete users
(don't want to
use phpmyadmin
if possible) -
would prefer a
script of sorts
! Any help will
be greatly
appreciated !
|
| bs0d |
| Subject: "Show Who is
Online"
Date: Dec 20 2007 at 2:25 pm
|
|
|

|
You would first
need to
implement a Members
System
a>. Then, once
that is in
place you can
detect if
they're signed
in like
this:
if($_SESSION['
logged_in'] ==
1) If they
are, insert
their name in
the users
online table,
if not - insert
"guest&q
uot;
Being able to
delete users is
the same. Build
a script that
shows all users
from your
members table.
Then, add a
check box next
to each user.
Have that
within an HTML
form, and when
you submit the
form, have it
call upon a
delete_user
script that
will delete
based on the
check boxes
that were
checked from
the form.
|
|
|
 |
Code Stats |
| 41,462 |
Views |
| 3 |
Total Comments |
| 4.5 |
Rating of 5 ( Votes) |
|