elimdeki seo scriptinin PR fonksiyonu:

function getPagerank () {
$url=$_REQUEST['urls'];
$chwrite = CheckHash(HashURL($url));

$url="http://toolbarqueries.google.com/search?client=navclient-auto&ch=".$chwrite."&features=Rank&q=info:".$url."&num=100&filter=0";
$data = $this->getPage($url);
preg_match('#Rank_[0-9]:[0-9]:([0-9]+){1,}#si', $data, $p);
$value = ($p[1]) ? $p[1] : 0;
return $value;
}