I need a PHP script that will do nothing more than take a website as an input field and using the Google Search API display all the results for that website.
In other words, do a search like this:
? ? ? ? site:[login to view URL]
and return all the results. Not just the first page, but all of the results. I want to show what Google sees for a specific website.
The input will be a text box and the output will be a list of all the webpages Google sees for that site.
So:
Input?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? website: [login to view URL]
Output:?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [login to view URL]
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [login to view URL]
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [login to view URL]
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [login to view URL]
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? etc...
I will verify the script against some real Google searches on specific domains. I do not want all of the other information that is included with the Google Search API, just the webpages as shown above.