Menu
i have this script that reports the server names back to me from a domain name, what i want to do is store one of the items from the array in a variable, but when i do that, all i get is a letter.
if (checkdnsrr($domain, “MX”)) {
getmxrr($domain, $mxhosts);
foreach($mxhosts as $mxKey => $mxValue){
$test = $mxValue;
//print(“$mxValue<br>”);
print(“$test<br>”);
}
}
also how does this exactly work
foreach($mxhosts as $mxKey => $mxValue){
thanks