mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 15:22:13 +00:00
trying out some search stuff...
This commit is contained in:
parent
472b0ae281
commit
a0f6c4f9f1
1 changed files with 4 additions and 5 deletions
|
@ -9,12 +9,11 @@
|
|||
require("parts/preamble.php"); // Load most of document
|
||||
// Start actual search
|
||||
$lib = dblist();
|
||||
echo "<P>Using dbm library '$lib'";
|
||||
$dbm = dba_open("siteindex.db","r","dbm");
|
||||
if (dba_exists($dbm, $string)) {
|
||||
$parseMe = dba_fetch($dbm, $string);
|
||||
$dbm = dbmopen("siteindex.db","r");
|
||||
if (dbmexists($dbm, $string)) {
|
||||
$parseMe = dbmfetch($dbm, $string);
|
||||
}
|
||||
dba_close($dbm);
|
||||
dbmclose($dbm);
|
||||
if ($parseMe) {
|
||||
$filenames = preg_split("/&&/", $parseMe);
|
||||
for ($i = 0;$i < sizeof($filenames);$i++) {
|
||||
|
|
Loading…
Reference in a new issue