Incomplete php information output

Source: Internet
Author: User
Php information output is incomplete. My php receives data from the server through socket. I think the length is equal to the number of bytes transmitted from the server, but the output is incomplete, I have output through htmlentities. Is there a limit on the number of webpage bytes? Each time a query is submitted, the returned result is always less and less than a certain amount. for example, if the first request contains more than 1000 bytes, the next request may contain less than 2000 bytes. how can this problem be solved?


Reply to discussion (solution)

It's hard to say that you still need to see the code.

The code is to receive the binary data sent from the server. the code is transcoded and output after receiving the code.

The code is to receive the binary data sent from the server. the code is transcoded and output after receiving the code.

In the php + apache environment, the test is normal. in the xampp. linux environment, nginx + php-fpm cannot be used, and the output is incomplete. Is there any problem with the configuration?

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.