PHPBuilder - New web-based chat using AJAX to update the dialog

RSS Twitter

New web-based chat using AJAX to update the dialog

by: Ashraf Gheith
October 18, 2006

A new class have been written using PHP & AJAX. This class can be used to implement a simple Web-based chat system that uses AJAX to update the chat dialog display area without reloading the whole page.

The class generates a page with a Web form to submit what each chat line that the users type.

The chat lines are sent to the server using a XMLHttpRequest object.

The chat lines are received by a server side script that uses the class to store what each user entered in a MySQL database table.

In response, the class outputs the chat list already formatted to be displayed in the user's browser pages.

The class is a PHP Licensed; for downloading the class please visit For a demo view please visit:

Comment and Contribute

Your comment has been submitted and is pending approval.

Ashraf Gheith



(Maximum characters: 1200). You have characters left.