[JDEV] Listing Users who are Connected to the Server

Jerry McMorran jerry_pclam1 at doramail.com
Mon Apr 14 14:10:52 CDT 2003


Hi all,

I'd like to make a PHP web page which reads & displays the content of
the file named "onlineUsers.txt".
That file stores JIDs of all online users (i.e. connected to the jabber
server).
And that file can be updated either "regularly and automatically" or
"whenever the web page is visited".
I have read this thread which contain similar things I want:
news://news.gmane.org/3E2E8E30.DF3AF14D@terravirtual.net
But I cannot find the answer for displaying online users' JIDs.
Would anyone tell me how to achieve what I want?
I wonder whether the status of users is stored as files in Jabber server
directory or not.
If yes, then I can just let the PHP script to read & parse those files.

Thanks in advance!

Jerry McMorran.






More information about the JDev mailing list