By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,101 Members | 1,340 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,101 IT Pros & Developers. It's quick & easy.

PHP 5 DomDocument

P: n/a

Im using the DomDocument class in PHP5 to parse thru a xml file, but it
keeps timing out on the load method :

$dom = new DomDocument();
$dom->load("<some url>");

Browsing to the url in a browser does load, although it takes about 11
minutes, its a big amount of data.

The lines above run for 2 minutes then the script stops :

Warning: DOMDocument::load(http://...) [function.DOMDocument-load]:
failed to open stream: HTTP request failed!

Does anyone know if there is a setting meaning it can only run for 2
minutes that i can increase, i presume its not the normal php page
timeout setting, because the error message would say that.

Thanks for any help,


Jul 17 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.