PHP Classes

File: search.php

Recommend this page to a friend!
  Classes of Sandeep Kumar   Google Keyword Position   search.php   Download  
File: search.php
Role: Example script
Content type: text/plain
Description: example file
Class: Google Keyword Position
Determine the position of a keyword in Google
Author: By
Last change:
Date: 15 years ago
Size: 220 bytes
 

Contents

Class file image Download
<?
include('keywordPosition.php');
$position=new KeywordPosition($_GET['url'],$_GET['keyword'],10);
$index=$position->GetPosition();
if(
$index==-1)
echo
'Not in search results';
else
echo
'You are at '.$index;
?>