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

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

WBOY
Release: 2016-06-13 12:51:16
Original
995 people have browsed it

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

服务器 php 聊天
------解决方案--------------------
去学websocket。。。
------解决方案--------------------
memcache,内容放在里面。。。。。。。。
------解决方案--------------------
楼主请搜索“comet”
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template