brdomaincheck.php updated to not depend on WHMCS functions