array ("post", "integer", ""), "pass" => array ("post", "string", ""), "passconf" => array ("post", "string", ""), "prefixe" => array ("post", "string", ""), "login" => array ("post", "string", ""), "dir" => array ("post", "string", ""), ); getFields($fields); if (!$id) { $error=_("No account selected!"); } else { if ($pass != $passconf) { $error = _("Passwords do not match"); include("ftp_edit.php"); exit(); } $r=$ftp->put_ftp_details($id,$prefixe,$login,$pass,$dir); if (!$r) { $error=$err->errstr(); include("ftp_edit.php"); exit(); } else { $error=_("The ftp account has been successfully changed"); include("ftp_list.php"); exit(); } } include_once("head.php"); ?>

$error

"; } ?>