Home >Backend Development >PHP Tutorial >PHP怎么实现主动向客户端发送信息

PHP怎么实现主动向客户端发送信息

WBOY
WBOYOriginal
2016-06-13 11:18:031488browse

PHP如何实现主动向客户端发送信息?
我想做个聊天室类型的应用。
就像WebQQ一样,WebQQ难道是用JS隔一定时间然后向服务器获取的吗?

服务器 php 聊天
------解决方案--------------------
去学websocket。。。
------解决方案--------------------
memcache,内容放在里面。。。。。。。。
------解决方案--------------------
楼主请搜索“comet”
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn