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
http://www.nurazije.co.nr/2006/07/web-based-chat-using-ajax-to-update.html For a demo view please visit: http://nurazije.1500mb.com/chat/