ajax push server

风流意气都作罢 提交于 2019-12-02 07:46:51
Pascal MARTIN

If I understand correctly, you want some kind of long-polling stuff -- you should search for the term "comet".

For instance, here are a couple of posts that might interest you :


Still, one might say that PHP, because of its non-threaded model, I suppose, is not the best language/technology for that kind of stuff... And maybe you'll end up looking to another technology for that part of your site...

For instance, you can take a look at :

After much research last night, I found this as the answer for the server side. Then write a php script for the client side. Then have ajax call the client which calls the server. Only problem is some of the extensions have to be manually installed.

http://php-mag.net/itr/online_artikel/psecom,id,484,nodeid,114.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!