Connecting Tech Pros Worldwide Help | Site Map

Displaying IP all users online

Leszek
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi everybody,

I need your help-I want to display all users which are online on my
web page and I don't know how to do this. I know how to do this whit
one IP but for more - I don't.

HELP ME :o(
PS: I don't have mySQL so it should be whit file.

Leszek
Michael Fuhr
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Displaying IP all users online


leszek.mrozinski@wp.pl (Leszek) writes:
[color=blue]
> I need your help-I want to display all users which are online on my
> web page and I don't know how to do this. I know how to do this whit
> one IP but for more - I don't.[/color]

Your requirement is ambiguous: does the list of "online" users mean
"online on my webpage" (i.e., logged into a web-based application),
or does it mean "online" in some other sense (e.g., logged into the
box using SSH or Telnet) and you want to display the output on your
web page? What exactly do you mean by "online"? How are you doing
this "with one IP"?
[color=blue]
> HELP ME :o(
> PS: I don't have mySQL so it should be whit file.[/color]

How would MySQL or files fit into your requirement? Please be more
specific about what you're trying to do.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Displaying IP all users online


leszek.mrozinski@wp.pl (Leszek) wrote in message news:<b8b291c5.0311100841.29e69cdd@posting.google. com>...[color=blue]
> Hi everybody,
>
> I need your help-I want to display all users which are online on my
> web page[/color]

See the thread http://groups.google.com/groups?thre...s.ci.uw.edu.pl

[color=blue]
> PS: I don't have mySQL[/color]

Google "TextDB"

Or try SQLite. http://in2.php.net/sqlite

---
"We live to die; we die to live"
Email: rrjanbiah-at-Y!com
Leszek
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Displaying IP all users online


mfuhr@fuhr.org (Michael Fuhr) wrote in message news:<3fafc881$1_3@omega.dimensional.com>...[color=blue]
> leszek.mrozinski@wp.pl (Leszek) writes:
>[color=green]
> > I need your help-I want to display all users which are online on my
> > web page and I don't know how to do this. I know how to do this whit
> > one IP but for more - I don't.[/color]
>
> Your requirement is ambiguous: does the list of "online" users mean
> "online on my webpage" (i.e., logged into a web-based application),
> or does it mean "online" in some other sense (e.g., logged into the
> box using SSH or Telnet) and you want to display the output on your
> web page? What exactly do you mean by "online"? How are you doing
> this "with one IP"?
>[color=green]
> > HELP ME :o(
> > PS: I don't have mySQL so it should be whit file.[/color]
>
> How would MySQL or files fit into your requirement? Please be more
> specific about what you're trying to do.[/color]

I mean just visit my page. I don't know how to use MySQL for this but
I just want give you more info about my server. There is no login, SSH
etc.

for one IP:

<?php
$IP=$_SERVER["REMOTE_ADDR"];
echo "$IP";
?>

or this

<?php
$ip=$REMOTE_ADDR;
echo "$ip";
?>

THX
Leszek
Closed Thread