Reply: PHP chat room discussion _ PHP Tutorial

Source: Internet
Author: User
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...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.