I will begin work on a feature in a program to do a search on search engines such as Google and Yahoo. For example, the user will type in whatever phrase he/she wants such as "race & cars," and the program will do a search via Google and print the responses.
I am not sure what message I need to send and where to send it if I want to search from, for example, Google. Do I send this:
I pasted the code above directly from the URL when I did a search at Google.
Secondly, what data will the search engine return? For example, the search above came back with more than ten pages at Google. Will Google send back all pages or one page at a time?
Please add if you have any experience dealing with search engines and/or communicating with websites in general.