A very simple and powerful PageRank (Google PageRank) finder for any website. Just submit the website URL one at a time and get the page rank. Script is using Google toolbar to get the PageRank.
Google PageRank PHP script works for both Bloggers and Webmasters. This script directly communicates with the Google toolbar.So it always is advisable not to make too many request at the same time from the same IP.
Instructions
Download "Download Free PHP pagerank script" and extract it using winzip or other similar program.
Include google-pagerank.php in your PHP which is going to display the pagerank for a website.
In the next line,
Thats it. Now all we have to do is, display the pagerank in the desired position of your webiste.
If you are using "css" or "default", you have to use the above method to display the pagerank image."images" method requires the following line of code.
Bloggers cant use PHP code in blogs. so to display pagerank in your blog use the following code.
Make sure you replace the blue color http://www.google.com to your blogger URL.
Google PageRank PHP script works for both Bloggers and Webmasters. This script directly communicates with the Google toolbar.So it always is advisable not to make too many request at the same time from the same IP.
Instructions
Download "Download Free PHP pagerank script" and extract it using winzip or other similar program.
Include google-pagerank.php in your PHP which is going to display the pagerank for a website.
<?PHP include_once "google-pagerank.php"; ?>
In the next line,
<?PHP
$url = "http://google.com";
$width = "200";
$method = "css"; //image or css or default
$image_location = "images/"; //including the slash (/)
$obj = new pr($url,$method,$width,$image_location);
?>
Thats it. Now all we have to do is, display the pagerank in the desired position of your webiste.
<p><PHP echo $obj->pagerank(); ?></p>
If you are using "css" or "default", you have to use the above method to display the pagerank image."images" method requires the following line of code.
filename.php should contain<p><img src="filename.php" /></p>
Instruction For Bloggers:<? include_once("google-pagerank.php");
$url = "http://www.google.com;
$width = "";
$method = "image"; //image
$image_location = "images/"; //including the slash (/)
$obj = new pr($url,$method,$width,$image_location);
echo $obj->pagerank();
?>
Bloggers cant use PHP code in blogs. so to display pagerank in your blog use the following code.
<p><a href=""><img src="http://www.agrizlive.com/
demo/google-pagerank-script/blogger.php?
url=http://www.google.com" /></a></p>
Make sure you replace the blue color http://www.google.com to your blogger URL.
Download Google PageRank PHP Script