Location: PHPKode > scripts > Google Hacks > google-hacks/example.php
<?php
$searchKeyword="Linkin Park";

require_once("GoogleHacks.inc.php");
$googleHacks=new GoogleHacks($searchKeyword);

//$result=$googleHacks->seachMusic();
//$result=$googleHacks->seachBooks("java");
//$result=$googleHacks->seachVideos("music");
//$result=$googleHacks->seachLyrics("Linkin");
//$result=$googleHacks->seachFonts("Space");
//$result=$googleHacks->seachApplications("Photoshop");
$result=$googleHacks->seachTorrents("I am legend");

echo "<pre>";
print_r($result);
?>
Return current item: Google Hacks