To implement Brian's "slow down the spider" suggestion of 7/13/00, I did this:
My "search" file was
Code:
<?
$searcharray=explode("/",$REQUEST_URI);
$searchcount=count($searcharray);
$spec = $searchcount - 1;
$threadid = $searcharray[$spec];
require("showthread.php");
?>
so I changed it to
Code:
<?
$searcharray=explode("/",$REQUEST_URI);
$searchcount=count($searcharray);
$spec = $searchcount - 1;
$threadid_with_dotphp_suffix = $searcharray[$spec];
$threadid = substr($threadid_with_dotphp_suffix, 0, -4);
require("showthread.php");
?>
and to add the ".php" to the end of the URL of each thread title in the search.php3 results listing I modified this line search.php3
Code:
print "<a href=\"search/$threadid\">$title</a><br>\n";
to become this
Code:
print "<a href=\"search/$threadid.php\">$title</a><br>\n";