Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
function yahoo_backs($url){
$str = file_get_contents('http://siteexplorer.search.yahoo.com/search?p='.urlencode($url).'&bwm=i&bwmo=d&bwmf=s');
preg_match('#class="btn">Inlinks \((.*?)\)<i#',$str,$matches);
return preg_replace("#[^0-9]#",'',$matches[1]);
}
function google_backs($url){
$str = file_get_contents('http://www.google.com/search?q=link%3A'.urlencode($url));
preg_match('#id=resultStats>(.*?) results?<nobr>#',$str,$matches);
return preg_replace("#[^0-9]#",'',$matches[1]);
}
function google_pages($url){
$str = file_get_contents('http://www.google.com/search?q=site%3A'.urlencode($url));
preg_match('#id=resultStats>(.*?) results?<nobr>#',$str,$matches);
return preg_replace("#[^0-9]#",'',$matches[1]);
}
function yandex_pages($url) {
$str = file_get_contents('http://yandex.ua/yandsearch?date=&text=&site='.urlencode($url).'&rstr=&zone=all&wordforms=all&lang=all&within=0&from_day=&from_month=&from_year=&to_day=&to_month=&to_year=&mime=all&numdoc=10&lr=143');
preg_match('#<title>(.*?)</title>#ism',$str,$matches);
return preg_replace("#[^0-9]#",'',$matches[1]);
}