Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] zmiana php4 na php5, blad z file_get_contents
AndyPSV
post
Post #1





Grupa: Zarejestrowani
Postów: 393
Pomógł: 5
Dołączył: 6.02.2003
Skąd: The.Luciferian.Doctrine.p
df

Ostrzeżenie: (30%)
XX---


moglby ktos napisac co sie zmienilo w php5, ze nie moge otworzyc z file_get_contents?
na poprzedniej wersji php wszystko dzialalo, na serwerze zewnetrznym tez dziala

  1. 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/

Ten post edytował AndyPSV 6.11.2010, 10:10:06
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 25.08.2025 - 05:34