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