Write the parser XML document in php using DomXml module.
For this I used the class of functions DomElement. Killed a whole day to sort it out but did. Obviously, this had to be commented in the php file.ini string extension=php_domxml.dll.
Code like this:...
if(!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\";
exit;
}
$root = $dom->document_element();
$nodes = $root->child_nodes();
...
What is the actual problem. For the developed site on another page I used a ready-made parser Twitter feeds that to parse uses the DomDocument class of functions.
Code like this:...
$feedURL = "
twitter.com/statuses/user_timeline/yourtwitteruser...";
$doc = new DOMDocument();
$doc->load($feedURL);
$arrFeeds = array();
...
So, after I uncomment in the php file.ini string extension=php_domxml.dll parser for the tweeter stopped working. If his comment again, then stops working parser for a class of functions DomElement.
I noticed that the parser for Twitter is not working only when already wrote a parser for my xml document. Now I do not know how to get out of the situation.
What's the problem? Or am I still confused or don't understand something? Why the conflict?
updFor Virt. server yuzayu XAMPP. Apache/2.2.3. PHP/5.1.6.