<form action='google.php'>
<input type=text name='q'>
<input type=submit value='Zoeken'>
<?php
#############################
# door Jacob Slomp #
# http://jacob.slompinfo.nl #
# email: jacob@flappie.nl #
#############################
$file=file("http://www.google.nl/search?hl=nl&ie=UTF-8&oe=UTF-8&q=".$_GET['q']."&btnG=Google+zoeken&lr=lang_nl&start=".$_GET['start']."");
for($i=0; $i<count($file)-1; $i++)
{
$file[$i]=str_replace("Gelijkwaardige pagina's","",$file[$i]);
$file[$i]=str_replace("In cache","",$file[$i]);
$file[$i]=str_replace("/search?q=","?q=",$file[$i]);
$file[$i]=eregi_replace("(.*) de zoek-knop te klikken.</font></td></tr></table>","",$file[$i]);
$file[$i]=str_replace('<img src=/intl/nl/nav_page.gif width=16 height=26 alt="" border=0>',"",$file[$i]);
$file[$i]=str_replace('<img src=/intl/nl/nav_next.gif width=100 height=26 alt="" border=0>',"",$file[$i]);
$file[$i]=str_replace('<img src=/intl/nl/nav_previous.gif width=68 height=26 alt="" border=0>',"",$file[$i]);
$file[$i]=str_replace('<img src=/intl/nl/nav_current.gif width=16 height=26 alt="">',"",$file[$i]);
$file[$i]=str_replace('<img src=/intl/nl/nav_first.gif width=18 height=26 alt="">',"",$file[$i]);
$file[$i]=str_replace('<table border=0 cellpadding=0 width=1% cellspacing=0 align=center>','<table border=0 cellpadding=1 cellspacing=1 align=center>',$file[$i]);
#$file[$i]=eregi_replace("","",$file[$i]);
echo $file[$i];
}
echo "<small><small>Hosted by <a href='http://www.google.com'>Google</a></small></small>";
?>