/ Published in: PHP
                    
                                        
Get google pagerank of websites
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
public static function getGooglePagerank($domain) {
$url = 'http://'.$domain;
$query="http://toolbarqueries.google.com/tbr?client=navclient-auto&ch=".self::CheckHash(self::HashURL($url)). "&features=Rank&q=info:".$url."&num=100&filter=0";
try{
if($pos === false){} else{
return $pagerank;
}
}catch(Exception $e)
{
return 0;
}
}
URL: http://www.getsiteinfo.us/whois
Comments
 Subscribe to comments
                    Subscribe to comments
                
                