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'; } ?>
Retrieve Current Balance Remotely