getProxy();
/*
to accommodate slow response times
you want a faster Web service?
Contribute to the "Buy Greg a faster server fund"
*/
$client->setOpt('timeout', 200);
// option 1: provide a word
$randomGoogleSearch = $client->getRandomGoogleSearch("monkey");
// option 2: allow Web service to generate a random word
// $randomGoogleSearch = $client->getRandomGoogleSearch();
print "Word: " . $randomGoogleSearch->word . "
\n";
print "Image: " . $randomGoogleSearch->image . "
\n";
?>