显示文本框

dns_get_mx()

« dns_check_record | dns_get_record »
<?php
$bool 
dns_get_mx (
    
// string $hostname
    
// array &$mxhosts
    
  // [array &$weight]
);
?>
结果
$mxhosts = [
]
$bool = false
示例
#1 dns_get_mx  ("www.example.com",
 
$mxhosts)
#2 dns_get_mx  ("domainmx.net",
 
$mxhosts)
另请参阅
getmxrr