PHP Search Engine Ranking Code

By nick | Code
23 Nov 2010

I’m putting up for download a very useful tool for webmasters and php developers alike.  It’s a basic tool for finding the ranking position of a keyword in a set search engine.

This code will take two parameters, a keyword and a url.  It will search through a predefined number of results pages for your keyword as a search term and show you which page and what position on the page your entered site was found at.

With very little effort you can change the search engine or search engine country used in this class.  By default it will search google.co.uk for its results.

In the class file I’ve included a usage example, if this format works I’ll keep posting things like this.

File: searchranking.php

Link: http://files.elfnet.org/file/30874f1c90590a6a

Leave a Reply