How to implement a chat room using Jquery/PHP?

前端 未结 10 1730
抹茶落季
抹茶落季 2020-12-02 07:12

I\'m looking to implement a chat room using PHP/Javascript (Jquery) with both group chat and private chat features.

The problem is how to continually update the inte

10条回答
  •  一整个雨季
    2020-12-02 07:43

    I believe the problem you are looking at requires the use of comet web programming. You can find more details on wikipedia, by searching for Comet programming, and on Ajaxian (I'm still new to this site and I can't post more than 1 link in the response).

    The problem is that this can't be easily achieved with php on the server side. More details: using comet with php

    Also, if you search on google for 'php comet' you'll find a tutorial to achieve the desired effect.

    LATER EDIT

    Ape project

    Implemented a project using this engine. Is great.

    Comet with php

    Hope this helps, Gabriel

提交回复
热议问题