PHP 函数 getgetmxrr
PHP 函数 getgetmxrr
<?php
getmxrr("codingdict.com", $mx_records, $mx_weight);
for($i = 0;$i<count($mx_records);$i++){
$mxs[$mx_records[$i]] = $mx_weight[$i];
}
asort ($mxs);
$records = array_keys($mxs);
for($i = 0; $i < count($records); $i++){
echo $records[$i];
echo '<br/>';
}
?>