array ("post", "string", ""), "login" => array ("post", "string", ""), "dir" => array ("post", "string", ""), "pass" => array ("post", "string", ""), "passconf" => array ("post", "string", ""), ); getFields($fields); if ($pass != $passconf) { $error = _("Passwords do not match"); include("ftp_add.php"); exit(); } $r=$ftp->add_ftp($prefixe,$login,$pass,$dir); if (!$r) { $error=$err->errstr(); include("ftp_add.php"); exit(); } else { $error=_("The FTP account has been successfully created"); include("ftp_list.php"); exit(); } ?>