How to use PHP include to include the Google result pages?

  • I'm not a php expert, but heres something, you'll get the idea when you read the code:
    include("http://www.google.com/search?q=$query_string");
    ?>

    so as an example, in a page like seek.php?query_string=query the "query_string" is "query" , I want the "query" to be taken from seek.php and to be applied as http://www.google.com/search?q=query and then get displayed back in http://www.example-domain.com/seek.php?query_string=query .
    but by the php include code, that doesn't seem to work :(

    Any help would be appreciated.
    thanks in advance


  • Hi. Your request violates the Google TOS (http://www.google.com/terms_of_service.html). Specifically, "[y]ou may not take the results from a Google search and reformat and display them, or mirror the Google home page or results pages on your Web site." If you wish to place a Google search box on your site, visit here (http://www.google.com/searchcode.html), or if you wish to develop your own Google applications, visit here (http://www.google.com/apis/).







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about How to use PHP include to include the Google result pages? , Please add it free.