By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,115 Members | 898 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,115 IT Pros & Developers. It's quick & easy.

Displaying IP all users online

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
le**************@wp.pl (Leszek) writes:
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.
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"?
HELP ME :o(
PS: I don't have mySQL so it should be whit file.


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/
Jul 17 '05 #2

P: n/a
le**************@wp.pl (Leszek) wrote in message news:<b8**************************@posting.google. com>...
Hi everybody,

I need your help-I want to display all users which are online on my
web page
See the thread http://groups.google.com/groups?thre...s.ci.uw.edu.pl

PS: I don't have mySQL


Google "TextDB"

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

---
"We live to die; we die to live"
Email: rrjanbiah-at-Y!com
Jul 17 '05 #3

P: n/a
mf***@fuhr.org (Michael Fuhr) wrote in message news:<3f**********@omega.dimensional.com>...
le**************@wp.pl (Leszek) writes:
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.


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"?
HELP ME :o(
PS: I don't have mySQL so it should be whit file.


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


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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.