PHP的聊天客户端 [英] php chat client
本文介绍了PHP的聊天客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要创建的PHP + JS + AJAX,需要加以整合到一个站点,在那里我坚持是创建一个聊天窗口中的聊天应用程序,需要进行不断的,而经历在网站的不同页面。如果任何人可以提出一个更好的方式,我会很感激,在此先感谢
i need to create a chat application in php+js+ajax which need to be integrated to a site, where am stuck is to create a chat window , that need to be constant while going through different pages in the site . if any one can suggest a better way i will be grateful, thanks in advance
推荐答案
至于聊天窗口停留在更改网页,我能想到的三个选项:
As far as the chat window staying when you change pages, I can think of three options:
- 把聊天在一个单独的帧,只去一个新的页面时,更改主框架。
- 在制作一个完整的页面重载的更改页面内容使用AJAX来代替。
- 在假定信息被存储在服务器上聊天,只需重新填充聊天与新的页面加载后的最新消息。
这篇关于PHP的聊天客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文