hi, i want to do a filetype search on google search api but it
returned 0 results.
my php code is :

$url="http://ajax.googleapis.com/ajax/services/search/web?
v=1.0&q=".urlencode('Paris Hilton .pdf"');

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_REFERER, "http://mysite.com/";);
$body = curl_exec($ch);
curl_close($ch);
var_dump(json_decode($body));


-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to