fopen problem with local apache installation
Posted: Fri Apr 20, 2007 12:49 pm
hi,
i got a problem with getting
$url = sprintf("http://finance.yahoo.com/d/quotes.csv?s ... d1t1c1ohgv" ,$symbol);
$fp = fopen($url, "r");
$array = fgetcsv($fp , 4096 , ', ');
running on my local apache installation.
it works fine on my hosted account but it ain't working from my local development environment (no error, just no results returned). seems to me, that i might need to change something in my apache configuration so that a connection to the "external" url is established at all.
any ideas?
thanks a lot!
i got a problem with getting
$url = sprintf("http://finance.yahoo.com/d/quotes.csv?s ... d1t1c1ohgv" ,$symbol);
$fp = fopen($url, "r");
$array = fgetcsv($fp , 4096 , ', ');
running on my local apache installation.
it works fine on my hosted account but it ain't working from my local development environment (no error, just no results returned). seems to me, that i might need to change something in my apache configuration so that a connection to the "external" url is established at all.
any ideas?
thanks a lot!