Home > Products > 123 Flash Chat > Buy
123 Flash Chat
Introduction
Requirements
Server Requirements
Supported Platforms
Hardware requirements
Java Virtual Machine(JVM) Requirements
Port requirements
Client Requirements
Hardware Requirements
Flash Player Requirements
Installation
Overview of files
Installing Chat Server
Windows NT/2k/XP
Windows Visa
Linux
Mac Operating System
Other Unix Operating System
Web server
Insert code
Easy Way
Advanced Way
Configuration
Server Configuration
Fcserver.xml
Connection Configuration
Global Configuration
Server.xml
General Configuration
User Configuration
Log Configuration
Filterwords Configuration
Robot Message
Server API
Modules
Logo Configuration
<room_id>.xml
Client Configuration
Client.xml
Skin Configuration
Predefined Message
Change Private Message Location
flashEmotion configuration
Client Admin Panel
Integrate Database Configuration
Chat Modules
Moderate chat module
Invisible admin chat module
Change nickname module
Pocket-pc & banner chat module
Audio-Video module
Encrypt-message chat module
Event-chat module
Image-transfer module
White-board module
Flash Media Server Setting
Buddy-List module
Visual Avatar Chat Module
Chat Room Remote Controller (MSN edition)
How to customize skin
Programmers Tools
Server API
Get Server Running Status
Send command to server to operate real-time data
Add room
Delete room
Broadcast
Private message
Client parameters
init_user and init_password
init_nickname
init_root
init_room and init_room_pwd
init_lang
init_skin
Admin mode
init_ad
Loading background
init_private and init_private_message
init_listroom
init_invisible
Avatar Chat Parameters
Lite Client
User Profile Interface
Cross Proxy
configuration
Home -> Manual

Get Server Running Status from the files

When a chat server is running, some parameters are stored in text files which can be read by your application. Useful information can be extracted from them.

This feature is included in the standard version of 123 Flash Chat.

Get numbers

To obtain a current connection number, the logon user number and the room number from a record file, use the following format:

<123FC installed directory>/server/data/default/online.txt

This file will real-time change according to the chat room status.

Format:

< connection number >|<logon user number>|<room numbers>

Sample: 230|180|10

The example above shows that there are 230 connections on the chat server, 180 of them have logged in and there are 10 chat rooms altogether.

This data can be read and displayed in php, asp or other dynamic webpages.

Get username list of each room

You can display the user name list of each room on your webpage by retrieving data from "room_*.txt".

In the <123 installed directory>/server/data/default/, you can find the following files:

"room_1.txt ", "room_2.txt", etc.

These files store the online user lists of relevant rooms. These will keep changing depending on the changes of specific rooms.

updated at 2008-2-28


Warning: include(/home/daniel/www/footer.php) [function.include]: failed to open stream: No such file or directory in /home/daniel/www/htdocs/server_help.php on line 14

Warning: include() [function.include]: Failed opening '/home/daniel/www/footer.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/daniel/www/htdocs/server_help.php on line 14