Commit 8814d21b authored by Pierre's avatar Pierre


parent f6b3e1d5
......@@ -26,7 +26,7 @@ function mx_chez_dp ($domaine) {
$domaine = $parse['host']; // juste le nom de dom sans http
// spip_log("bureau ".$bureau,'test'._LOG_AVERTISSEMENT);
$result = dns_get_record($domaine, DNS_MX);
spip_log("serveur ".print_r($result),'test'._LOG_AVERTISSEMENT);
spip_log("serveur ".print_r($result,1),'test'._LOG_AVERTISSEMENT);
if( $result AND isset($result[0]['target'])){
// spip_log("serveur ".$result[0]['target'],'test'._LOG_AVERTISSEMENT);
$serveur = $result[0]['target'];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment