View Single Post
Old 01-07-2004, 03:29 AM   #1
sid
Former Member
 
Join Date: Sep 2003
Posts: 34
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:
PHP Code:
<?php
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
sid is offline