This lines loads the xml file from the url, but if file is unreachable it shows a lot of errors
**********************
$url = 'http://example.com/xml';
$file = file_get_contents($url) ;
$xml = new SimpleXMLElement($file);
**********************
how can be shown simple text message if file is unreachable?
[edited by: volatilegx at 6:26 am (utc) on Jan. 26, 2008]
[edit reason] examplified [/edit]