With the following php code
$url = "http://ichart.finance.yahoo.com/table.csv?s=EURUSD%3DX&a=6&b=27&c=2011&d=7&e=05&f=2011&g=d&ignore=.csv";
$this->trace("Geting from: $url");
$raw_quote_data = file_get_contents($url);
yahoo.com is returning a 404 Error, but the url is correct and works under my Internet browser.
I have try also set a header with the user agent with stream_context_create, but not works.
Maybe is a problem of my hosting (000webhost) and yahoo block it?
Use Curl function.It works fine for me.
Output i got: