andre 2 éve
szülő
commit
dfb16ec2dd
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      testdns.php

+ 2 - 2
testdns.php

@@ -49,10 +49,10 @@ function cwp7CheckSOA($domain, $nameserverIP = NS1) {
             return 'none';
         }
     }
-	return $result;
+	return $result->answer[0]->mname;
 };
 
 $result = cwp7CheckSOA($domain);
-print_r($result['answer'][0]['mname']);
+print_r($result);