próbowałem
get_headers($adres);
czy to jedyne wyjście? Bo niestety niezbyt działa

get_headers($adres);
$ch = curl_init('http://wp.pl'); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_NOBODY, 1); $wyjscie = curl_exec($ch); if (curl_errno($ch)){ } else{ } curl_close($ch);