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