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 ?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?I've also copied libxml to my system dir and restarted multipule times .. no effect Got it working now
PHP5 uses other functions to load a xml document then is documented.
I found this (<!-- m --><a class="postlink" href="http://cvs.php.net/co.php/php-src/ext/dom/examples/dom1.php?r=1.3">http://cvs.php.net/co.php/php-src/ext/d ... .php?r=1.3</a><!-- m -->) script while browsing though the news groups, hope it will hepl others too
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 ?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?I've also copied libxml to my system dir and restarted multipule times .. no effect Got it working now
PHP5 uses other functions to load a xml document then is documented.
I found this (<!-- m --><a class="postlink" href="http://cvs.php.net/co.php/php-src/ext/dom/examples/dom1.php?r=1.3">http://cvs.php.net/co.php/php-src/ext/d ... .php?r=1.3</a><!-- m -->) script while browsing though the news groups, hope it will hepl others too