In my script i use this function:
function url_exists($url) {
if ((strpos($url, "http")) === false) $url = "http://" . $url;
if (is_array(@get_headers($url)))
return true;
else
return false;
}
How can i set the time limit of execute function @get_headers? I need function like set_time_limit() by works for one function, not for whole script.