Is there a way to directly open the first link of a google search using php?

January 11, 2011 – 9:11 pm

If a user types something in my website, can I return the first or second link of a google search on that topic if I use php? I’m looking for the URL of the first or second link without letting the user actually visit google.

Related posts:

  1. google.com not working on any browsers?
  2. I can't get to Google, help?
  3. Can't Load mail.google.com?
  4. Do you think it is possible for me to get a job at Google Inc.?
  5. Who has worked with Python and Google Appengine?
  6. man search – Man page for search
  7. Can't Find Google Server?
  8. I have a D-link Router & a D-Link Wireless card. How to connect using Fedora 8?
  9. What application in Ubuntu can you use to install Google Earth?
  10. Anyone know of a zip code search script that works within a php/mysql results page?
  1. One Response to “Is there a way to directly open the first link of a google search using php?”

  2. Just write a server side program that takes the user’s input and passes it to google… then, when google responds to your server program (using http) have it use a search algorithm that cuts away all of the unnecessary response and simply leaves the url that you were looking for. Google won’t like that though since their resources are expended without a chance of them revealing an advertisement… but it’ll work.

    By npolynomial on Jan 11, 2011

Sorry, comments for this entry are closed at this time.