Re: PHP to generate XML



I just found the XXX.DOM Functions and i've replaced it with

$doc = new DomDocument('1.0');

still getting fatal error undefined function DomDocument

my phpinfo says XML support is active

Any ideas





Michael Fesser wrote:
.oO(Damo)

This gives the following error:
Fatal error: Call to undefined function: domxml_new_doc() in .......

The domxml.dll is in the extensions folder of my php distribution so i
have no idea what the problem is.

Is it enabled in your php.ini? Is it listed in the output of phpinfo()?

And why don't you use this extension instead?

XXX. DOM Functions
http://www.php.net/manual/en/ref.dom.php

Micha

.