Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Er. Rochak Chauhan  >  Google Hacks  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: Google Hacks
Search the Internet for certain files using Google
Author: By
Last change:
Date: 2007-12-16 09:34
Size: 484 bytes
 

Contents

Class file image Download
<?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);
?>