";
else
$result .= "\n";
}
}
}
else {
if ($val) {
$result .= DisplayKeyName($key)." = $val";
if ($html)
$result .= "
";
else
$result .= "\n";
}
}
}
}
return $result;
}
function EnvoiMail($dest, $subject, $theArray)
{
$body = $theArray;
$body["NomMachine"] = getenv(REMOTE_HOST);
$body["IPMachine"] = getenv(REMOTE_ADDR);
$body["Proxy"] = getenv(HTTP_VIA);
$body["Browser"] = getenv(HTTP_USER_AGENT);
mail($dest,
$subject,
DisplayArray($body, false),
"From: ludimail@ludimail.org\nReply-To: ".$body["*MAIL"]."\nReturn-Path: ".$body["*MAIL"]."\nMime-Version: 1.0");
}
function Error( $mes ) {
echo "
" ; echo $mes ; echo "
" ; echo "" ; echo "Correction du formulaire de confirmation.
" ; } ?>