Alexa Rank:
<?
function alexa_rank($url) {
$str=file_get_contents("http://www.alexa.com/siteinfo/{$url}");
preg_match('#<div class="data .+?">(.*?)</div>#si', $str, $a);
$ank=trim(str_replace(",","",strip_tags($a[1])));
return $rank;
}
?>
<?
function alexa_rank($url) {
$str=file_get_contents("http://www.alexa.com/siteinfo/{$url}");
preg_match('#<div class="data .+?">(.*?)</div>#si', $str, $a);
$ank=trim(str_replace(",","",strip_tags($a[1])));
return $rank;
}
?>