eChat : Chat System Application using PHP/MySQLi with Source Code

Language

The eChat is a Simple Chat System App that is developed using PHP/MySQLi. Like the popular chat applications, this simple application was mainly built as a medium of communication. The chat conversation is listed publicly which means the mini-project does not support private or direct messages to other users. The conversion panel automatically refreshed after 5 seconds so no need to reload the page to display new chat messages. Talking about the UI/UX, the eChat Application's design is simple and the application is user-friendly. Each user can customize the background color and the text color of their own chat bubbles.

Features

  • User Registration
  • User Login
  • Send Message
  • Conversation Panel
  • Auto-refresh Conversation
  • Bubble Background/Text Color Customization

How To Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation

  1. Extract the source code zip file. Rename the extracted folder to "eChat".
  2. Open the XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  3. If you are using XAMPP, copy the source code folder and paste it into the xampp's "htdocs" directory. And if you are using WAMP, paste it inside the "www" directory.
  4. Open a web browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  5. Create a new database naming "echatdb".
  6. Import the SQL file in your newly created database. The SQL file is known as "echatdb.sql" and located inside the source code root folder.
  7. Open a web browser and browse the web application. i.e.(http://localhost/eChat)

Test the Application

Open 2 different browsers or 1 normal window and 1 private window of the same browser. Browse the web application in both windows. Register unique users in each window then log in the users. Click the "Customize" link located at the upper right below the welcome text header of the chat panel to customize the user's chat bubble. Start a conversation with each user.

Demo

That's it! I hope this Chat Application PHP Mini-Project will help you with what you are looking for and for your future PHP Projects. Feel free to modify the source code in the way you wanted.

You can contact me @ [email protected]

Enjoy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment