Implementing long-polling with jQuery and PHP

后端 未结 2 1689
误落风尘
误落风尘 2021-01-03 06:49

I want to build a chat, based on JavaScript (jQuery will be used for AJAX) and PHP.

I\'ve heard a good way of doing this is to use long-polling.

I do underst

2条回答
  •  时光说笑
    2021-01-03 07:22

    implementing such kind of chat is not good idea in php, you can use CometChat, Nodjs and if you can not install scripts on your server than you can use Available APIs for Realtime Sending Data,

    such as Pubnub, Pushemr, Beaconpush.

提交回复
热议问题