Hi guys, I've been searching around trying to find a solution to this problem. Basically I wrote a simple php script to create an xml file of the information thats passed to it. Testing it locally works without a problem, but when I upload it to my web space I Keep getting the following error :

Fatal error: Call to undefined function: load()

And this is the line of code thats at fault ...

$dom->load('users.xml')

I've checked my web providers module list for both php 4 & 5, and everything seems to be there that i need for this to work.

Any help on this would be greatly appreciated :)

Solved it. Turned out I had to rename the script extension to php5 for it to work :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.