<center>
<form method="GET" action="arama.php">
</b> <input type="text" name="q" size="30">
<input type="SUBMIT" value="ARA!">
</form>
<center>
<?php
$q = $_GET[q];
function f($start, $end, $string) {
preg_match_all('/' . preg_quote($start, '/') . '(.*?)'. preg_quote($end, '/').'/i', $string, $m);
return $m[1];}
$url = "
Google=" . urlencode($q) . "&num=900&lr=&cr=&safe=off&start=0&sa=N&filter =0";
$buff = file_get_contents($url);
$links = f('<h2 class=r><a href="','"',$buff);
for ($x=0;$x<count($links);$x++) {
echo $links[$x] . "<br>\n";
}
?>