diff --git a/calls.php b/calls.php index b615b98..e26aed4 100644 --- a/calls.php +++ b/calls.php @@ -37,7 +37,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $idle->viewMoreDomainModal($_GET['id']);//View more details modal } } elseif ($_GET['type'] == 'dns_search') { - $idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']); + header('Content-Type: text/html; charset=utf-8'); + echo $idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']); } elseif ($_GET['type'] == 'check_up') { echo $idle->checkIsUp($_GET['host']); } elseif ($_GET['type'] == 'object_cards') {