I was thinking of implementing real time chat using a PHP backend, but I ran across this comment on a site discussing comet:
My understanding is that
I found this funny little screencasts explaining simple comet. As a side note I really think this is going to kill your server on any real load. When just having a couple of users, I would say to just go for this solution. This solution is really simple to implement(screencasts only takes 5 minutes of your time :)). But as I was telling previously I don't think it is good for a lot of concurrent users(Guess you should benchmark it ;)) because:
filemtime()
,I really think you should try the alternatives if you want to do any comet/long polling. You could use many languages like for example:
Just performing a simple google search, will show you a lot alternatives also PHP(which I think on any big load will kill your server).