Free as Freedom, not Free as Free Pizza!” />

-

Udruženje Informatičara BiH - Cross-platform and Portable Development With PHP, LAMP/WAMP development, AJAX and Javascript, ASP, dot NET, C sharp, C++, C, VB, Oracle, tutorials and tips...
Free as Freedom, not Free as Free Pizza!


 
Web http://www.uibih.co.nr

Add to Google

Monday, July 10, 2006

Web based chat using AJAX to update the dialog

Published Class: CHAT Class
http://www.phpclasses.org/browse/package/3213.html

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 by displayed in the user browser pages.
Download GUI added version at Download