Questions about PHP importing Excel files

Source: Internet
Author: User
I use the thinkphp framework, in the import of Excel, when the Excel file inside the data when there will be an AJAX error and speed a bit slow, excel in less data when the situation, For example, I have 3,000 data in Excel imported into five hundred or six hundred will have this Ajax error, ask the big God answer
_ajaxerror:function (data, transport) {
if (Data.status = = 0 && Transport = = null)
Alert ("The page is not served from a server! Ajax call failed ");
else if (typeof console! = "undefined")
Console.log ("Ajax error:" + Data.status + "" + transport);
},


Reply to discussion (solution)

There's no answer, so sad.

Try to change the value of Memory_limit in php.ini.

Change the value of the Memory_limit in the php.ini. Try it or not.

  • 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.