Jump to content


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


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:

"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

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?

Share this post

Link to post
Share on other sites


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.