$key, "q" => $Query, "start" => $start, "maxResults" => 5, "filter" => true, "restrict" => "", "safeSearch" => false, "lr" => "lang_en", "ie" => "", "oe" => "" ); $soapclient = new soapclient("http://api.google.com/search/beta2"); // [1] $result = $soapclient->call("doGoogleSearch", $parameters, "urn:GoogleSearch"); $searchtime = $result["searchTime"]; $begin = $start + 1; $end = $start + $parameters["maxResults"]; $total = $result["estimatedTotalResultsCount"]; if ($total > 0) print "Lista dei risultati:
    "; { $result = $result["resultElements"]; for ($i = 0; $i < $parameters["maxResults"]; $i++) { $element = $result[$i]; $url = $element["URL"]; $title = $element["title"]; $snippet = $element["snippet"]; // [2] $nfr=$i+1; print "
  1. $url"; print "
    $title"; print "
    $snippet"; } print "
"; } ?>
Parola da cercare: