<?php$q = urlencode( $_GET['q'] );$url = 'http://www.google.com/search?q=';$html = @file_get_contents( $url . $q );echo $html;