getName() : htmlentities(strip_tags($_POST['cn']),ENT_NOQUOTES); $actif = (!empty($_POST['isactive'])) ? true : false; $mailaccept = array_filter($_POST['mailaccept'], function($value) { if (!empty($value)) { return true; } else { return false; } }); array_walk($mailaccept, function(&$item,$key) { if (!empty($item)) { global $domain; $item = "$item". "@".$domain->getName(); } }); $maildrop = $_POST['maildrop']; print '