Click to See Complete Forum and Search --> : Dom Xml


[NL]René
05-30-2004, 08:58 AM
I just got the new PHP5 RC 2 and wanted to try out the DOM XML extension.
But for some reason I can't use it, php return a fatal error saying the functions are 'undefined'.

I use the following functions :
domxml_version
domxml_open_file

Im running apache 1.3.27 on Win98SE
And copied iconv.dll to my system dir.
Does anyone here has a idea what I did wrong or how to get it work ?

planetsim
05-30-2004, 09:23 AM
Although PHP 4.3 >= requires the iconv.dll file try copying the libxml2.dll file over as well.

Also when you copied it over did you restart the apacher server?

[NL]René
05-30-2004, 01:37 PM
I've also copied libxml to my system dir and restarted multipule times .. no effect :(

[NL]René
06-01-2004, 04:55 AM
Got it working now :)

PHP5 uses other functions to load a xml document then is documented.

I found this (http://cvs.php.net/co.php/php-src/ext/dom/examples/dom1.php?r=1.3) script while browsing though the news groups, hope it will hepl others too :)