i have a partners.php page the has an includes that feeds from another page: part.php.
Part.php pulls info from an xml page that is called partners.xml
Everything work great locally and on a linux server. but when my client loaded it onto their windows 2008 server it stop working. in the section where you should see an image and a link i see what i assume is and error.
here is the code from each page as well as the error message i am getting.
Can anyone help or at least point me in a direction?
partners.php
<?php include("part.php"); ?>
part.php
<?
$objDOM = new DOMDocument();
$objDOM->load("partners.xml");
$note = $objDOM->getElementsByTagName("note");
foreach( $note as $value )
{
$tasks = $value->getElementsByTagName("tasks");
$task = $tasks->item(0)->nodeValue;
$details = $value->getElementsByTagName("details");
$detail = $details->item(0)->nodeValue;
$images = $value->getElementsByTagName("images");
$image = $images->item(0)->nodeValue;
echo '<img src="'.$image.'">';
echo "$task :: $detail <br>";
}
?>
Partners.xml
<mynotes>
<note>
<details><![CDATA[
<a href="Http://www.google.com" target="_blank">google </a>]]></details>
<images> images/logos/logo1.jpg</images>
</note>
</mynotes>
]Error on page
load("partners.xml"); $note = $objDOM->getElementsByTagName("note"); foreach( $note as $value ) { $tasks = $value->getElementsByTagName("tasks"); $task = $tasks->item(0)->nodeValue; $details = $value->getElementsByTagName("details"); $detail = $details->item(0)->nodeValue; $images = $value->getElementsByTagName("images"); $image = $images->item(0)->nodeValue; echo ''; echo "$task :: $detail
"; } ?>