![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 15 Pomógł: 0 Dołączył: 28.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam problem z funkcja get_headers(), otoz gdy podam get_headers('jakis_link'); to wszystko jest gitara a gdy link mam w tablicy i podam get_headers($zmienna[0][0]); to wyskakuje mi blad ze tam musi byc URL i co teraz zrobic moi drodzy? Saludo y gracias, Oswaldo. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 15 Pomógł: 0 Dołączył: 28.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
preg_match_all("#http(.*)[^\s]#i", $zmienna, $link);
$test = get_headers($link[0][0]); print_r($test); gdzie $zmienna to jakis tekst gdzie sa URL'e, a blad: [phpBB Debug] PHP Notice: in file (...): get_headers() [function.get-headers]: This function may only be used against URLs. ktory wskazuje na linie: $test = get_headers($link[0][0]); problem naprawde bardzo dziwny... moze da sie jakos wyciagnac "HTTP/1.1 200 OK" cos takiego w inny sposob? Ten post edytował Oswaldo Sánchez 28.02.2010, 21:45:20 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 08:46 |