Server IP : 162.0.209.157 / Your IP : 18.224.44.207 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /var/softaculous/ajaxchat/ |
Upload File : |
<?php /* * @package AJAX_Chat * @author Sebastian Tschan * @copyright (c) Sebastian Tschan * @license Modified MIT License * @link https://blueimp.net/ajax/ */ // List containing the registered chat users: $users = array(); // Default guest user (don't delete this one): $users[0] = array(); $users[0]['userRole'] = AJAX_CHAT_GUEST; $users[0]['userName'] = null; $users[0]['password'] = null; $users[0]['channels'] = array(0); // Sample admin user: $users[1] = array(); $users[1]['userRole'] = AJAX_CHAT_ADMIN; $users[1]['userName'] = '[[admin_username]]'; $users[1]['password'] = '[[admin_pass]]'; $users[1]['channels'] = array(0,1); // Sample moderator user: $users[2] = array(); $users[2]['userRole'] = AJAX_CHAT_MODERATOR; $users[2]['userName'] = 'moderator'; $users[2]['password'] = '[[admin_pass]]'; $users[2]['channels'] = array(0,1); // Sample registered user: $users[3] = array(); $users[3]['userRole'] = AJAX_CHAT_USER; $users[3]['userName'] = 'user'; $users[3]['password'] = '[[admin_pass]]'; $users[3]['channels'] = array(0,1); ?>