abandoned bytes
Engineering: the art of making what you want from things you can get.

PHP + AJAX Chat

June 25, 2009

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

Comments

No comments yet. Why don't you write the first one?

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.

Name:
E-Mail:
Website:

Fill in the CAPTCHA to prove you are human:

© 2009 by David Madl. Impressum | Home (English) | Home (Deutsch) | Processing time: 0.564 s

abandoned bytes (en) > Software > PHP > AJAX Chat
User:
Pass: