PHP Web page Output information is not a complete solution

Source: Internet
Author: User
PHP page output information is not complete
My PHP through the socket to receive the data sent by the server, I see the length and the number of bytes sent over the servers are equal, but the output is not complete, I output through the htmlentities, is there a limit on the number of Web bytes? Each commit query returns results, the output of the information is always less, not necessarily less, such as the first time less than 1000 bytes, the next time there may be less than 2000 how to solve it?

I am in Php+apache environment test is normal, use of xampp. In the Linux environment, NGINX+PHP+PHP-FPM can not, output is not complete, where is the problem of the setting?

------to solve the idea----------------------
This is an XML string, although all
But the Chinese is GBK encoded (at least you're giving this part)
You should check the processing code at the output
  • 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.