Search not found

I have a search within a site form. My problem is as I searched a keyword this message appears instead

Search results for : ‘aids’

The term ‘aids’ was not found in any file

Also, my search box only appears on my main page (php file) while the rest (html pages) search box does not appear.

I’m using Apache 1.3.x and Php 4.3 version on win XP Prof.

I have this code on my search box

<?
search_form($HTTP_GET_VARS, $_SERVER[‘PHP_SELF’]);
?>
</td>
</tr>
</table>

<font size=“1” face=“Verdana, Arial, Helvetica, sans-serif”>
<?

@$keyword=$HTTP_GET_VARS[‘keyword’];
@$action=$HTTP_GET_VARS[‘action’];
if ($action==“SEARCH”) {
search_results_title($HTTP_GET_VARS);
search_keyword_length_check($HTTP_GET_VARS);
search_files($server_name, ‘c://inetpub//wwwroot//’,
$search_dir, $file_types, $file_skip, $file_hits, $file_terms, $file_bytes, $HTTP_GET_VARS);
search_no_hits($HTTP_GET_VARS, $count_hits); }
else {

?>

search.inc code:

//search_form():
function search_form($HTTP_GET_VARS, $PHP_SELF)
{
@$keyword=$HTTP_GET_VARS[‘keyword’];
echo
“<form action=”$PHP_SELF" method=“GET”>
“,
“<input type=“hidden” value=“SEARCH” name=“action”>
“,
“<input type=“text” name=“keyword” size=“12” maxlength=“40” value=””;
if(!$keyword)
echo “”; //Default text in search field
else
echo str_replace(”&”,"&",htmlentities($keyword));
echo “” “;
echo “onFocus=” if (value == '”;
if(!$keyword)
echo “”; //Default text in search field
else
echo str_replace("&","&",htmlentities($keyword));
echo “’) {value=’’}” onBlur=“if (value == ‘’) {value=’”;
if(!$keyword)
echo “Search”;
else
echo str_replace("&","&",htmlentities($keyword));
echo “’}”> ";
echo
"<input type=“submit” value=“Find”>
",
"<br>
",
"</form>
";

}

hope you could fix it.

thanks in advanced!!!
flashroiem