Using dbm library '$lib'"; $dbm = dba_open("siteindex.db","r","dbm"); if (dba_exists($dbm, $string)) { $parseMe = dba_fetch($dbm, $string); } dba_close($dbm); if ($parseMe) { $filenames = preg_split("/&&/", $parseMe); for ($i = 0;$i < sizeof($filenames);$i++) { $temp = $filenames[$i]; if ($files[$temp]) { $files[$temp]++; } else { $files[$temp] = 0; } } while (list($key,$val) = each ($files)) { echo "

$key - $val hits"; } } else { echo "

Sorry, no pages found containing '$words'"; } require("parts/postamble.php"); // Finish this sucker up } else { // Preamble $pageName = "Search Results"; $focused = "none"; // Dock icon name to gets a border require("parts/preamble.php"); // Load most of document echo '

That type of search isn\'t supported yet. Please check back later.'; require("parts/postamble.php"); // Finish this sucker up } ?>