File: includes/config.php

Recommend this page to a friend!
  Classes of Johnny Mast  >  PHP MySQL WebSocket Chat  >  includes/config.php  >  Download  
File: includes/config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP MySQL WebSocket Chat
Websocket chat that stores messages in MySQL
Author: By
Last change: Update of includes/config.php
Date: 4 months ago
Size: 818 bytes



Class file image Download
 * Config.php
 * The main configuration file for mysql_websocket_chat
 * PHP version 7
 * @category Configuration
 * @package Mysql_Websocket_Chat
 * @author Johnny Mast <>
 * @license MIT
 * @version GIT:1.4
 * @link
 * @since GIT:1.0


define('DATABASE_HOST', 'localhost');
define('DATABASE_USERNAME', 'root');
define('DATABASE_PASSWORD', 'root');
define('DATABASE_DB', 'socket_chat');
define('ENABLE_DATABASE', false);

 * The host can either be an IP or a hostname
 * on this machine. The port is just the port
 * plain and simple.
define('WEBSOCKET_SERVER_IP', '');
define('WEBSOCKET_SERVER_PORT', '8080');

For more information send a message to info at phpclasses dot org.