Home > Article > Backend Development > Reply: Discussion about PHP chat room_PHP tutorial
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