XML Help

If you have our server IPs locked down, please make sure that these match the IPs to which web.bmtmicro.com resolves.

<?php
$is_bmt_server = false;
$remote_address = $_SERVER['REMOTE_ADDR'];
$bmt_servers = dns_get_record('web.bmtmicro.com', DNS_A);
for ($i = 0; $i < count($bmt_servers); $i++) {
    if ($remote_address == $bmt_servers[$i]['ip']) {
        $is_bmt_server = true;
        break;
    }
}
if ($is_bmt_server) {
    echo 'Remote call is from BMT Micro';
} else {
    echo 'Remote call is from someone we do not know';   
}
?>

Example PHP to Parse XML

Retrieve Current Balance Remotely

XML Account Transactions Detail

XML Notifications Encryption

XML Order Notifications

XML Remote Registration

XML Sales Detail

XML Ticket Details

Cancel Subscriptions Remotely

XML System Errors