ソースを参照

clientareafunctions

andre 3 年 前
コミット
d2316d62f4
1 ファイル変更2 行追加2 行削除
  1. 2 2
      cwp7.php

+ 2 - 2
cwp7.php

@@ -396,7 +396,7 @@ function cwp7CheckSOA($domain) {
 		$responseArray = str_getcsv($response, "\n");
 		$responseArray = str_getcsv($response, "\n");
 		foreach($responseArray as $row) {
 		foreach($responseArray as $row) {
 			if(str_starts_with($row, 'whois')) {
 			if(str_starts_with($row, 'whois')) {
-				$whoisServer = array_slice(explode(':', $row), -1, 1);
+				$whoisServer = array_slice(explode(' ', $row), -1, 1);
 			}
 			}
 		}
 		}
 	} else {
 	} else {
@@ -414,7 +414,7 @@ function cwp7CheckSOA($domain) {
 		__FUNCTION__,
 		__FUNCTION__,
 		$tld[0],
 		$tld[0],
 		'debug2',
 		'debug2',
-		$whoisServer
+		$whoisServer[0]
 	);
 	);
 	return 'none';
 	return 'none';
 }
 }