Flash Chat Server Software How to get chatroom status if 123 flash chat server and client are placed on different server machines? If you are using php in your website, you may embed the following code in your HTML page: Let's take the example that you have installed 123flashchat in this server IP: 111.112.113.114 echo"<script language=\"javascript\" src=\"http://111.112.113.114:35555/roomonlineusers.js\"></script>"; echo"<script language=\"javascript\" src=\"http://111.112.113.114:35555/online.js\"></script>"; echo "<div id='flashchat'>"; echo "<b>Flash Chat</b><br>"; echo"<script language=\"javascript\"> document.write(\"There are <b> \"+ online.cn+\"</b> chat connections\"); document.write(\"<br/>\"); document.write(\"There are <b> \"+ online.ln+\"</b> chat logon users\"); document.write(\"<br/>\"); document.write(\"There are <b>\"+ online.rn+\"</b> chat rooms.<br />\"); </script>"; echo 'Chatting users: <b>'; echo"<script language=\"javascript\"> var roomOnlineUsersLength=roomonlineusers.length; for(var i=0;i<roomOnlineUsersLength;i++) { document.write(roomonlineusers[i].nickname); document.write(\"<br/>\");}"; echo "</script>"; echo '</b><br />'; |

|
|
|