Jump to content

PHP Page loading forever


Ninjakreborn

Recommended Posts

I have a PHP Page.  It is doing a lot of site crawling, throughout a lot of loops.

Basically it's getting a massive array together and it's huge.  However, it's so big that PHP times out beyond

belief. I mean there is no error or nothing. Google throws a major error about page not found, IE shows an internet connection error. It really

times out big time. Even though it's not really "A LOT". Any advice on what to do in that situation. I can't show the site/code because of NDA,

but was curious if someone had ever done that much work on a PHP page before to have it do that?

Link to comment
Share on other sites

I am not trying to show to browser. I am writing a crawler.  It is going to be used to get data from a site.  Eventually it's going to be doing three prime operations (one for each site).

Right now, it's only getting data from one site. I have gotten all the code done to get the data from the site.  I needed it in an array, so I can loop through it and put it into an array.

 

SO, that's the weird part. It's entirely not working. I mean it loads for a LONG time, then goes to a "Error" page in Chrome, and a "Internet Connectivity" error page in IE.  Strange.  I will try the flush content, and see how that goes.  I need to do something to allow it to finish loading.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.