Dear group,
When I went through the php docs I come across with fopen() function
which can also takes the any url. So I tested with this following little
code.
<?php
$fh =
fopen("http://www.google.co.i n/search?hl=en&q= php&btnG=Google +Search&meta=",
"r");
while(!feof($fh ))
{
$output = htmlspecialchar s(fgets($fh, 1024));
echo ("$output<br />");
}
fclose($fh);
?>
The query string does that all. If I want to have my own page with a text
box and a submit button which searches the google and display those google
search result links in my web page. Can that be possible? Is this the basic
thing about search engine? Or I am I missing something very basic? Thanks
for any help.