PHP Data export and WEBservice problems

Source: Internet
Author: User
PHP Data export and WEBservice problems 1: when exporting data to excel using PHPExcel and there are about 7000 rows of records, it won't work, but what I have achieved is that I can export 2 or 30 thousand rows of records. how can I solve this problem? Question 2: I used nusoap to write web & nbsp; service, which is capable of PHP Data export and WEB service during local testing.
Problem 1: when exporting data to excel using PHPExcel, it won't work if there are about 7000 rows of records, but what I can do is export 2 and 30 thousand rows of records, how can this problem be solved?
Question 2: I used nusoap to write a web service. it can be used normally during local testing. However, when uploading data to the server, the returned json value is empty and the returned json value is HTTP Error: no data present after HTTP headers is normal when the string is returned. what is the problem?
I have a poor level of Chinese language, and I have just started programming in PHP. if you cannot tell me clearly, I will reply to the post and explain it online...
------ Solution --------------------
Is there a limit on the largest row in excel? If you remember correctly, I am afraid this may not work for 2-3 million lines.
Check whether the memory has been occupied.

2nd questions are unclear.
------ Solution --------------------
HTTP Error: no data present after HTTP headers
It means there is no data behind the http header, but the data length is declared in the header
Json encoding may fail due to character sets, or nusoap problems.
SOAP is a carrier using XML.
You use json as a carrier.
Using json as the carrier is REST

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.