who says it doesnt have to tho?
make a new script
Code:
<?
//basically copy autheticate.php cause we'll use a lot of it later
require("global.php");
if(!isset($PHP_AUTH_USER)) { # if $PHP_AUTH_USER is not set
Header("WWW-Authenticate: Basic Realm=\"Forum\"");
Header("HTTP/1.0 401 Unauthorized");
echo"error";
exit;
} else {
$username=$PHP_AUTH_USER;
$password=$PHP_AUTH_PW;
//start bb authentication
verifyusername($username,$password);
//continue w/ authentication....
//paste in the code after verifyusername() here..
}
?>
not tested, but with some work it might be what you want. ive used php for this kind of authentication once before, and it seemed to work alright.