
20.01.2010, 03:11
|
|
Участник форума
Регистрация: 04.05.2006
Сообщений: 161
С нами:
10537558
Репутация:
158
|
|
PHP код:
<?php
$query = "Macoley";
$url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=".urlencode($query);
$body = file_get_contents($url);
echo $body;
$json = json_decode($body);
foreach ($json->responseData->results as $resultjson) {
$result_google['title']= $resultjson->title;
$result_google['url']= $resultjson->url;
$result_google['content'] = $resultjson->content;
}
print_r($result_google);
?>
Тут нету ограничений, следовательно не будет каптчи.
|
|
|