Jump to content

Question about DOM functions


Recommended Posts

I'm [i]trying[/i] to write a PHP script that uses XML to update a calendar of events. I'm using DOM functions to read the XML file and it's been working great on my test server, I also have a production server for personal files that has PHP on it and it works on that. When I upload it to the live server it stops working. According to the webhost DOM is not supported by them or installed, but according to php.net:
http://us2.php.net/manual/en/ref.dom.php

"There is no installation needed to use these functions; they are part of the PHP core."

I did find this example online of how to use the function to read XML files
http://www-128.ibm.com/developerworks/opensource/library/os-xmldomphp/

and it states "the Document Object Model (DOM) library compiled into [u]some[/u] installations of PHP"

So I'm confused, are DOM functions part of PHP core or are they something I have to install myself?
Link to comment
https://forums.phpfreaks.com/topic/21689-question-about-dom-functions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.