ID: 16392 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DOM XML related Operating System: windows 2000 PHP Version: 4.1.2 New Comment:
node_content() was broken from 4.0.6-4.1.2. It has subsequently been fixed. Please try the 4.2.0 release candidate available from http://www.php.net/~derick. Also, use get_content() now (version 4.2.0 and later) instead of node_content. Previous Comments: ------------------------------------------------------------------------ [2002-04-03 10:30:17] [EMAIL PROTECTED] for current php-cvs, i'm not sure about v4.1.x and above, you have to use this code, b/c the php_domxml api changed: if($person->node_name() == "person") { echo "<b>Person Found:</b><br> "; echo "Name: " . $person->get_content() . "<br>"; echo "Id: " . $person->get_attribute("id") . "<br>"; echo "DOB: " . $person->get_attribute("dob") . "<br><br>"; } ------------------------------------------------------------------------ [2002-04-03 07:37:03] [EMAIL PROTECTED] changed summary to reflect problem more accurate ------------------------------------------------------------------------ [2002-04-02 10:36:57] [EMAIL PROTECTED] Om my site you can find http://cveld.nl.eu.org/test/xml/php/test5.php and test5.php.txt. I copied the example from a popular source code website. My site runs on iis5 dotnetbeta2 + php 4.1.2 The same file was installed on http://flux.myserver.org/php/carl.php but as you probably can see on a different installation: omnihttpd + php 4.0.4 My test php does not respond with any information on my server while the same php file on the other server responds correctly. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16392&edit=1