$_SERVER['PHP_AUTH_USER'], 'Password' => $_SERVER['PHP_AUTH_PW'], )); //Log the member in and return the member, if they were found if ($member) { $member->LogIn(false); return $member; } return false; } }