Reply to PHP 5 DomDocument

Your name:

Reply:


Posted by paulroskilly on 07/17/06 19:50

Hi,

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,

Paul

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация