COMP4021 Lab 7 Chat System

Overview

Basic idea

Overall Idea

Getting Started

Apache Server Setup

Implementation

Information Flow

1. Implementation of the Server Side

1.1. login.php - Handling user login

1.2. add_message.php - Adding a message to the chat room

1.3. server.php - Handling requests from the client side

2. Implementation of the Client Side

2.1. login.html - Handling user login

2.2. client.php - Sending a message to the server

2.3. message.php - Getting messages from the server

2.3.1. Using AJAX techniques to get XML data

2.3.2. Displaying and updating chat message

Submission