Reply: PHP chat room discussion. 1. whether Apache + PHP can implement ServerPush to continuously transmit server-side chat information to clients, similar to Zhanjiang chat room. The WEB servers in this chat room are generally self-1. can Apache + PHP implement Server Push to continuously send chat information on the Server?
Continuously transmitted to the client, similar to the Zhanjiang chat room.
The WEB servers of such chat rooms are generally dedicated chat servers written by themselves. So we can do what you say.
2. ASP chat rooms can store information through applications and sessions. Php chat room
What is used to save public information? Database? Text file? Memory?
PHP4 supports SESSION, which is implemented by text files. PHPCHINA. COM also has an example of implementing APPLICATION with memory.
3. how can I determine whether the video of A in A chat room is online?
When performing scheduled refresh, you can set a time mark on the SERVER for this person to be online. if the mark is not updated for three minutes, the person is considered offline.
......
4. is there a better PHP chat room source code?
Here, let's take a look. Http://www.phpwizard.net/index.html
Can the consumer implement Server Push to continuously transmit the chat information on the Server to the client, similar to the Zhanjiang chat room. The WEB server of this chat room is generally from...