// this may fail...
$f = @file_get_contents('http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml');
if (!strlen($f)) {
- $target = dirname(__FILE__).'eurofxref-daily.xml';
+ $target = dirname(__FILE__).'/eurofxref-daily.xml';
return false;
}