This is a simple chat application that allows users to send and receive messages in real-time. It is built using PHP, JavaScript, jQuery, JSON, AJAX, and Bootstrap.
- Users can send messages in real-time.
- Messages are displayed with the sender's username and timestamp.
- Users can reset the chat history.
- PHP: Used for server-side logic and managing chat sessions.
- JavaScript: Used for client-side interactivity and AJAX requests.
- jQuery: Used for DOM manipulation and event handling.
- JSON: Used for exchanging data between the client and server.
- AJAX: Used for asynchronous communication between the client and server.
- Bootstrap: Used for styling and layout.
- Open
index.php
in a web browser. - Enter your username and start sending messages.
- To reset the chat history, click the "Reset Chat" button.
index.php
: HTML file containing the chat interface.script.js
: JavaScript file containing client-side logic.chatlist.php
: PHP file containing server-side logic for managing chat sessions.