Jump to content


Photo

Question about DOM functions


  • Please log in to reply
No replies to this topic

#1 warpdesign

warpdesign
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 22 September 2006 - 04:36 PM

I'm trying 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/m.../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.c...y/os-xmldomphp/

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

So I'm confused, are DOM functions part of PHP core or are they something I have to install myself?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users