|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have PHP4.0.4pl1 under Win2000.
When I am runing this script (example from this site) <?php $theXML = "<?xml version='1.0'?>"; $theXML .= " <website><url>"; $theXML .= " URL"; $theXML .= " </url></website>"; $xmlDoc = xmldoc($theXML); $root = $xmlDoc->root(); $node = array_shift($root->children()); echo $node->content; ?> PHP is returning me following error message. Fatal error: Call to undefined function: xmldoc() in f:\usr\www\xml3.php3 on line 8 What am I doing no correct? Support of domxml is established. Help me please. ![]() Thanks to All! |
|
#2
|
|||
|
|||
|
you must be config your webserver to support
./configure' '--with-mysql' '--with-apxs2=/var/www/apache2/bin/apxs' '--enable-xslt' '--with-xslt-sablot=/usr/local/sablot' '--with-dom=/usr/local/libxml' '--with-zlib' '--with-expat-dir=/usr/local/expat' '--with-curl' '--with-zlib' '--with-oci8=/usr/local/oracle' '--enable-bcmath' '--enable-calendar' '--with-gettext' '--enable-inline-optimization' '--with-tsrm-pthreads' before to use it |
|
#3
|
|||
|
|||
|
Hi,
where do I have to make the changes mentioned above? I can't find a similar entry in a .config file. Thanks for answer nadine |
|
#4
|
|||
|
|||
|
recompile apache
__________________
-- Jason |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Problem with DOMXML PHP4.0.4pl1 under W2k |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|