0) $attributes["group"] = getgroupname($db, $_POST["access"]); /* Create XML associate file */ if (!empty($attributes)) { if (!($fd = @fopen("$rpspool/".$_POST["dir"].".xml", "wb"))) { $page["status"][] = "Erreur! Impossible de céer le fichier XML '" . htmlprotect($_POST["dir"]) . ".xml'."; return; } fwrite($fd, exportxml($attributes, "directory")); fclose($fd); $page["status"][] = "Fichier XML '" . htmlprotect($_POST["dir"]) . ".xml' céé."; }