Wednesday, September 10, 2014

google Page rank checker free basic php code


Here is a simple page rank checker php code . You will get the page rank of the site by passing url of the site via get method . It is very basic code for pagerank checker , so you can make it into a pagerank checking website or wapsite of your own design with a little effort.








<?php

$url=$_GET['get-url'];
// to get the page rank of yourwebsite.com .just pass get-url=yourwebsite.com

$url='http://pagerank.x20.asia/api.php?url='.$url;
$pagerank = file_get_contents($url);
echo $pagerank;

?>

This code can also be used to ex-load a page rank checker tool to your wapka site if you have one . Suppose if you are putting the above content on http://yoursite.com/pg.php  then exload http://yoursite.com/pg.php?get-url=:get-url:    










 If you have any improved versions of pagerank script then post a  comment with the download  link.