Page 1 of 1

SEO php scripts

Posted: Wed Mar 24, 2010 6:04 am
by kasim.badami
How to get number of google indexed pages and also please tell me how to find SEO Rank and search engine position..
i tried lot but only found this type of code which now google doesn't allow

Code: Select all

$url='http://www.google.com/search?q='.urlencode($keyword).'&hl=en&safe=off&start='.($x-1)*10 .'&sa=N&num='.$serp_listings;
        //echo $url."\n";
        $data=sanitize_input(file_get_contents($url));
Please tell me how can i use google api for all these.


Thanks in advance :)