about
this page | source
code
";
} else {
$file = file_get_contents($logfile);
$pattern = "/.+?$search.+?/U";
$found =
preg_match_all($pattern,$file,$matches,PREG_PATTERN_ORDER);
if ($found) {
echo "$found matches in $logfile
";
print_r($matches);
echo "
";
}
}
}
}
?>