SEARCH RESULTS:
if($_POST['action'] == "search") { include "../lib/searchconfig.php"; $filename = "$root/data/searchen.dat"; if(strlen($_POST['keyword']) <= 2){ print "Keywort shoult be longer that 2 characters. ",sizeof($list)," Search results for $keyword Pages scanned $searching | Time search $time seconds. Could not find a result for keyword '$keyword'.
Please re-enter keyword.";
}
else{
$keyword = $_POST['keyword'];
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$user = file("$filename");
$searching = count($user);
$lis = 0;
for($x=0;$x
',$temp[1],'
',$temp[2],'
';
}
if($stats == true){
echo "
";
}
}
else{
echo "
";
if($stats == true){
echo "Time search $time seconds.
";
}
}
?>