Felipe Cruz .com  
      Home   
 
 
  [ Enlarge Image ]  
 
 
<< Back 
Posted: 2007/01/29 by: fcruz. PHP programming Blogs.
Alex Stapleton figured how to calculate a site checksum to grab a page google page rank, based on this you can get the page rank by posting the checksum value as shown on this article. PHP Code also available.

The PHP Code to calculate the checksum value below:


Warning: Cannot modify header information - headers already sent by (output started at /home/felipecruz/public_html/blog_google-page-rank-checksum-php.php:7) in /home/felipecruz/public_html/blog_google-page-rank-checksum-php.php on line 140


Once you calculated the checksum, you can dynamically find out the PageRank for a page by reading the values returned by the following URL:

http://www.google.com/ search?client=navclient-auto&ch=[checksum here] &features=Rank&q=info:http://www.example.com

[ Back ]

 Related Articles   
Using SSH with PHP
Uncloneable object error in PHP5 with XSL
  Home