na poprzedniej wersji php wszystko dzialalo, na serwerze zewnetrznym tez dziala
Warning: file_get_contents(http://localhost/api/rate/get/?sell=&buy=&loc=pl) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
aha, plik oczeywiscie dziala, wpisujac w przegladarce: http://localhost/api/rate/get/?sell=&buy=&loc=pl
----
dobra mam, trzeba http://localhost/ zamienic na http://127.0.0.1/