php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16392 simple test app does not return result
Submitted: 2002-04-02 10:36 UTC Modified: 2002-04-03 10:32 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: cveld at bigfoot dot com Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.1.2 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cveld at bigfoot dot com
New email:
PHP Version: OS:

 

 [2002-04-02 10:36 UTC] cveld at bigfoot dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-03 07:37 UTC] cveld at bigfoot dot com
changed summary to reflect problem more accurate
 [2002-04-03 10:30 UTC] lukas at edeal dot de
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 10:32 UTC] jtate@php.net
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.
 [2002-04-03 10:32 UTC] jtate@php.net
Sorry, meant to set to closed.
 [2012-06-10 01:58 UTC] ircmaxell@php.net
Automatic comment from SVN on behalf of ircmaxell
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=326075
Log: Added a note to strlen() stating it return number of bytes rather than number of chars

--
Provided by anonymous #16392 (info@pieterhordijk.com)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 14:01:33 2024 UTC