Hello,
I have a script that i use that parsing xml data from my affiliate into a db but i need some help because is not working on dreamhost =>
function GetXMLTree($xmlloc){
if (file_exists($xmlloc)){
$data = implode(’’, file($xmlloc));
} else {
$fp = fopen($xmlloc,‘r’);
while(!feof($fp)){
$data = $data . fread($fp, 1024);
}
fclose($fp);
}
Anyone an idea how i can let this code work ?