i got a url like this one http://somedomain.com/frieventexport.php and the content of this url is a plain XML structure if I check out the source-code of the site:<
http://somedomain.com/frieventexport.php
Try the following:
$url = 'xml-file.xml'; $xml = simplexml_load_file($url); print_r($xml);