Just a little more help
Here is the code block I'm using from the MSQLi behaviors, I'm not sure how to modify this using the code you sent, can you help?
<?php
if (true) {
$RestrictAccess = new WA_MySQLi_Auth();
$RestrictAccess->Action = "restrict";
$RestrictAccess->Name = "LoggedInFBO";
$RestricAccessRedirect = "sorryAdmin.php";
if (function_exists("rel2abs")) $RestricAccessRedirect = $RestricAccessRedirect?rel2abs($RestricAccessRedirect,dirname(__FILE__)):"";
$RestrictAccess->FailRedirect = $RestricAccessRedirect;
$RestrictAccess->execute();
}
?>
Sorry for the stupid question.
T