Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] zrobilem file_get_contents a cos nie dziala
damianm2007
post 18.11.2010, 16:38:26
Post #1





Grupa: Zarejestrowani
Postów: 83
Pomógł: 0
Dołączył: 5.05.2008

Ostrzeżenie: (20%)
X----


witajcie

zrobilem tak

  1. <?php
  2.  
  3. $jgor = file_get_contents('http://wt.kk.jgora.pl/');
  4.  
  5.  
  6.  
  7. $title = preg_match_all('@<ul class="news">\<h3 class="news"><a class="news" href="([^"]*)"\>@', $jgor, $wynik);
  8.  
  9. print_r($wynik);
  10.  
  11. ?>


no ale nic nie pobiera.. co jest zle ? bo nie wiem ;/
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 04:29