I want to CURL to Google to see how many results it returns for a certain search.
I\'ve tried this:
$url = \"http://www.google.com/search?q=\".$str
Use the Google Ajax API.
http://code.google.com/apis/ajaxsearch/
See this thread for how to get the number of results. While it refers to c# libraries, it might give you some pointers.