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