i have this code, it succesfully retrieves the search results from google. the only problem is it only retrieves a limited number of results. unlike when you are searching the same query in the google page. the results are more than the results given by the code
are there any other way to retrieve google results?
*mi first post pls be kind to me :innocent:
PHP Code:
$search = 'query';
$obj = json_decode( file_get_contents( 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&rsz=large&q=' . urlencode( $search ) ) );
foreach($obj ->responseData->results as $i){
echo $i->unescapedUrl.'<br/>';
}
}