$myfile=@file_get_contents(“http://myserver/myfile.xml”);
$xml=simplexml_load_string($myfile) or die(“Error: Cannot create object”);
$xml->{“node1”}->{“node2”}[1]->{‘variablename’}[0]
$myfile=@file_get_contents(“http://myserver/myfile.xml”);
$xml=simplexml_load_string($myfile) or die(“Error: Cannot create object”);
$xml->{“node1”}->{“node2”}[1]->{‘variablename’}[0]
Recent Comments