Home > Backend Development > PHP Tutorial > How to achieve instant communication in php_PHP tutorial

How to achieve instant communication in php_PHP tutorial

WBOY
Release: 2016-07-13 10:51:03
Original
723 people have browsed it



Question
How to communicate in real time
Solution
Recently I want to make a chat program like the latest web version of QQ and online communicator
I now have an online chat program written in VB. What are the functions of using the socket interface in PHP
Is the interface function of php sufficient?


Reference answer
AJAX for BS, FLEX for CS
Reference answer
I learned it and I think I can use it in the future. [img]http://www.111cn.cn/bbs/images/smilies/default/02.gif[/img]
Reference answer
Do it better with Flash!
Reference answer
Want Want web version feels very good
Reference answer
while(1){
$db->getAll(XXXXX);
}
Reference answer
What do you mean?
Reference answer
Continuously read data from the database, then capture the browser's closing event, and terminate the program after the browser is closed. And prompt the other end that the other party is not online.
Reference answer
I don’t know how to flash
Also, will not reading the database in sections put too much burden on the server
Reference answer
Original post by yafeikf on 2009-1-3 01:29 [url=http://bbs.111cn.cn/redirect.php?goto=findpost&pid=813011&ptid=100164]Link tag [img]http://bbs. 111cn.cn/images/common/back.gif[/img][/url]
while(1){
$db->getAll(XXXXX);
}
The execution of this script will time out.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632588.htmlTechArticleHow to achieve instant communication and solution. I recently want to make a web version like the latest QQ to communicate online. I now have an online chat program written in vb...
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