Hi,
This code is only works in a admin user:
I want to run this code in a reseller account with DNS Control access, how?
Thanks.
This code is only works in a admin user:
PHP:
<?php
$sock = new HTTPSocket;
$sock->connect(IP, 2222);
$sock->set_login('admin', password);
$sock->set_method('POST');
$sock->query('/CMD_API_DNS_ADMIN', array('domain' => 'domain', 'action' => 'exists'));
$result = $sock->fetch_parsed_body();
if($result['exists'] !== '0'){
echo "that domain is exists.";
}
?>
I want to run this code in a reseller account with DNS Control access, how?
Thanks.