From c927d166a404d2a345a31bba524edb8c6d5f0624 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sun, 7 Feb 2021 00:23:52 +1100 Subject: [PATCH] Update calls.php --- calls.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') {