Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Joshua hatfield  >  floGoogle  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: floGoogle
Retrieve and process Google search result pages
Author: By
Last change:
Date: 8 years ago
Size: 516 bytes
 

Contents

Class file image Download
<html>
<head>
    <title>floGoogle Test</title>
<style>
body {
    margin: 0px;
    overflow: hidden;
}
textarea {
    border: 0px;
}
</style>
</head>
<body>
<?
$q 
$_GET["q"]?$_GET["q"]:"flobi";
include(
"floGoogle.php");
$g = new floGoogle();
//$s = $g->getPageParsed($q, 1, 100);
$s $g->findPagePositionStart("http://www.hollowmatrix.com""free hollow matrix"100);
?>
<textarea style="height: 100%; width: 100%">$result = <?
print_r
($s);
// echo($g->lastsource);
?></textarea>
</body>
</html>