I did the parsing XML and it works on my computer (PHP5), but as usual
it doesn't on the clients server (PHP4) =)
can you look into it:
http://sfhousemusic.com/newlook/pasingXML.php - test file with this in
it:
<?php
error_reporting (E_ALL);
$doc = DOMDocument::lo adHTML("playlis t.xml");
var_dump($doc);
$aSongID = array();
$aSongName = array();
$aSongPath = array();
$songs = $doc->getElementsByT agName("Song");
foreach($songs as $song){
array_push($aSo ngID, $song->getAttribute(" ID"));
array_push($aSo ngName, $song->$song->nodeValue);
array_push($aSo ngPath, $song->getAttribute(" URL"));
}
var_dump($aSong ID);
?>
=(
it just displays the blank page with no errors, so i can't figure out
what is it.
help needed...
Thanks, Alexander =\
it doesn't on the clients server (PHP4) =)
can you look into it:
http://sfhousemusic.com/newlook/pasingXML.php - test file with this in
it:
<?php
error_reporting (E_ALL);
$doc = DOMDocument::lo adHTML("playlis t.xml");
var_dump($doc);
$aSongID = array();
$aSongName = array();
$aSongPath = array();
$songs = $doc->getElementsByT agName("Song");
foreach($songs as $song){
array_push($aSo ngID, $song->getAttribute(" ID"));
array_push($aSo ngName, $song->$song->nodeValue);
array_push($aSo ngPath, $song->getAttribute(" URL"));
}
var_dump($aSong ID);
?>
=(
it just displays the blank page with no errors, so i can't figure out
what is it.
help needed...
Thanks, Alexander =\
Comment