1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

Update calls.php

This commit is contained in:
cp6 2021-02-07 00:23:52 +11:00
parent da2daf2120
commit c927d166a4

View File

@ -37,7 +37,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$idle->viewMoreDomainModal($_GET['id']);//View more details modal $idle->viewMoreDomainModal($_GET['id']);//View more details modal
} }
} elseif ($_GET['type'] == 'dns_search') { } 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') { } elseif ($_GET['type'] == 'check_up') {
echo $idle->checkIsUp($_GET['host']); echo $idle->checkIsUp($_GET['host']);
} elseif ($_GET['type'] == 'object_cards') { } elseif ($_GET['type'] == 'object_cards') {