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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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