September 10th, 2013, 07:07 AM
Blank page returned for large script
I'm scraping content from a page and its sub pages and placing it into an XML file. I use PHP Simple HTML DOM Parser (http://simplehtmldom.sourceforge.net/) to do this, and it works very well.
The problem I'm having is that sometimes it works fine (after taking around 20-30 seconds), but other times it just returns a blank screen. So its clear that the script works, but sometimes it seems to just time out. I have tried removing the memory limit to stop the page timing out:
But sometimes I still get the blank screen and nothing added to the XML file. Any idea on how I can stop this form happening?
September 10th, 2013, 07:18 AM