Home > Backend Development > PHP Tutorial > Reply: Discussion about PHP chat room_PHP tutorial

Reply: Discussion about PHP chat room_PHP tutorial

WBOY
Release: 2016-07-13 17:07:43
Original
1066 people have browsed it

1. Can Apache+PHP implement Server Push to continuously transmit server-side chat information to the client, similar to the Zhanjiang chat room.
The WEB server of this kind of chat room is usually a dedicated chat server written by yourself. So we can do what you said.
2. ASP chat room can save information through Application and Session. Php Chat Room
What to use to save public information? database? Text file? Memory?
PHP4 supports SESSION, which is implemented using text files. PHPCHINA. COM also has an example of using memory to implement APPLICATION.
3. How to determine whether person A in the chat room is online?
When doing scheduled refresh, you can set a time mark on the SERVER to indicate that the person is online. If this mark is not updated for 3 minutes, it is considered that the person is not online.
......
4. Where is the better PHP chat room source code download?
Well, let’s take a look here. http://www.phpwizard.net/index.html

http://www.bkjia.com/PHPjc/630240.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630240.htmlTechArticle1. Can Apache+PHP realize Server Push to continuously transmit server-side chat information to the client? , similar to Zhanjiang chat room. The WEB server of this kind of chat room is usually self...
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