Google is the single most important search engine in the world today, practically all web users will use Google before any other search engines.
A full fledged SEO industry is running on the google pagerank algorithm decided by Google Inc.
I have seen a lot of developers asking the method of getting google pagerank using php.
The Google search results are ranked by page rank.
We are going to use PHP class “Google PR” from phpclasses.org
Download the class from here.
<?
//Include and instansiate the class
include_once("class.googlepr.php");
$rank = new GooglePR();
//Query the PR value for a url
echo "PageRank - " . $rank->GetPR("http://www.test.com/") . "n";
?>
Simples!
