I've written a minimalistic, proof-of-concept AJAX chat in PHP. If anyone is interested in a basis for further development, see this.
The only funny part in coding this was finding out that PHP sessions are mutually exclusive (and such, if a client is AJAX-waiting for a PHP script which is delaying on purpose, the session can't be accessed from another script. You need to close the session in the delaying PHP script).
Download: ajaxchat01.zip
© 2009 by David Madl. Impressum | Home (English) | Home (Deutsch) | Processing time: 0.189 s | IPv4
Write a comment
The fields e-mail and website are optional. Your e-mail-address will not be displayed, it's only for me to be able to reply.