trying out some search stuff...

This commit is contained in:
Dan Olson 2000-06-18 20:57:03 +00:00
parent 6eacd9cd3c
commit 04adb31c7e
1 changed files with 4 additions and 4 deletions

View File

@ -10,11 +10,11 @@
// Start actual search
$lib = dblist();
echo "<P>Using dbm library '$lib'";
$dbm = dbmopen("siteindex.db","r");
if (dbmexists($dbm, $string)) {
$parseMe = dbmfetch($dbm, $string);
$dbm = dba_open("siteindex.db","r","dbm");
if (dba_exists($dbm, $string)) {
$parseMe = dba_fetch($dbm, $string);
}
dbmclose($dbm);
dba_close($dbm);
if ($parseMe) {
$filenames = preg_split("/&&/", $parseMe);
for ($i = 0;$i < sizeof($filenames);$i++) {