logo       

Re: PHP nusoap: msg#00100

php.nusoap.general

Subject: Re: PHP nusoap

Hi again,

I found where's the problem.

http://www.google.pt/apis/api_faq.html#tech8

It's a policy from google.

Sorry for spam.

Thanks

Valter

Valter Barbio wrote:

hi,
i have a problem with maxResult params.

when maxResult is greater than 10, i don't get the array with the result.

here it is:

$params = array(
'key' => 'googlelicensekeyxxxxxxxxxxxxxxxxxxxxxx', // Google license key
'q' => $query, // search term
'start' => 0, // start from result n
'maxResults' => 20, // when is greater than 10 got no result.
'filter' => true, // remove similar results
'restrict' => '', // restrict by topic
'safeSearch' => true, // remove adult links
'lr' => '', // restrict by language
'ie' => '', // input encoding
'oe' => '' // output encoding
);
...

// invoke the method on the server
$result = $soapclient->call("doGoogleSearch", $params,"urn:GoogleSearch", "urn:GoogleSearch");

Thanks




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise