If you are looking to build a simple, fast, and user-friendly online chat application, you can refer to the source code for an Online Chat Application built using PHP CodeIgniter, with features such as:
- User Panel
- Realtime Chatting
- Active Status
- View Last Moment
- Update Profile and Bio
- Block/Unblock Users
- Send Private Mail
* How to install script on localhost:
- Download and install a local web server such as AMPPS/XAMPP/WAMP to run our PHP scripts;
- Download and extract the script and copy it to the web server directory;
- Access phpMyAdmin to create a new database, then import file chatigniter.sql database;
- Open file connection.php (in directory application/config/database.php) to configuration database connection:
$db['default'] = array(
'hostname' => 'localhost',
'username' => 'root',
'password' => 'mysql',
'database' => 'chatigniter',
'dbdriver' => 'mysqli',
)
- Open file config.php (in directory application/config/config.php) to configuration project URL:
$config['base_url'] = 'http://localhost/project_name';
- Project URL: http://localhost/project_name/
- Default login account:: teo@gmail.com / 123456.
Tags
social