Ask the experts why local debugging is normal and it won't work in the browser

Source: Internet
Author: User
Ask the experts why the local debugging is normal and running in the browser won't work. I used zend 5.5.1
I wrote a php collection program. because of the large data volume, the program runs in the built-in browser in zend. It takes about five minutes to complete the collection. But in IE browser localhost :.... It takes about one minute to run. it will automatically stop and no error will be reported. it will be stopped for one minute each time. Does the browser have a waiting time?

How can this problem be solved? thank you !!!!


Reply to discussion (solution)

1. extend the running time of ini (memory usage should be considered if the collected content is too much)
2. since the collection is run locally, I suggest using CLI instead of using a browser.

1. extend the running time of ini (memory usage should be considered if the collected content is too much)
2. since the collection is run locally, I suggest using CLI instead of using a browser.

Thank you. it is online. I am running a test locally.
The younger brother also encountered a problem, that is, there was too much data on the target webpage. I almost had to get stuck when I opened the browser, and it took about five seconds to display it completely. When php uses curl for collection, the data collected by webpages with large amounts of information is incomplete and missing. Is there any good solution? For example, can I display all the target webpages and retrieve data? Thank you !!

It is normal to slow down. people collect data and generally have dedicated servers.
Send the page first, and then ajax retrieves the collected data.

What does it mean to use people's data (non-API) like this?

It is normal to slow down. people collect data and generally have dedicated servers.
Send the page first, and then ajax retrieves the collected data.

What does it mean to use people's data (non-API) like this?

Thank you. I gradually asked php and mysql to print the error message and finally found the problem. The data collected by curl is correct. it is because the code I put into the database misses some incomplete data, which has been solved.

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.