Is there a form on your index page? If so, what are its contents? Untested, but perhaps try the following. It's hard to say for sure, as there isn't enough info for me to go on.
Code:
if ($_REQUEST['query_string'] && $_REQUEST['search'] == 'Go')
{
include('/home/xxxxxx/public_html/search.php');
}