array ("post", "string", ""), "user" => array ("post", "string", ""), "password" => array ("post", "string", ""), "passwordconf" => array ("post", "string", ""), ); getFields($fields); if ($password != $passwordconf) { $error = _("Passwords do not match"); include("hta_adduser.php"); exit(); } if (empty($password)) { $error=_("Please enter a password"); include ("hta_adduser.php"); exit(); } if (!$hta->add_user($user, $password, $dir)) { $error=$err->errstr(); include ("hta_adduser.php"); } else { include ("hta_edit.php"); } ?>