11)); // ------------------------------------- auth_enforce($auth_user_id, $auth_pass, array("wizard", "archmage"), "make accounts"); $invalid = input_enforce(array($id, $name, $full_name, $bio, $email, $url, $password, $login), array("ID", "Username", "Full name", "Biography", "E-mail", "URL", "Password", "Login class"), array("free_user_id", "free_user_name", "string", "string", "email", "url", "ne_string", array("spectator", "wizard", "archmage", "contributor"))); if (!empty($invalid)) { input_error("Some input is invalid: " . comma_sep($invalid)); } // ------------------------------------- user_create($id, $name, $password, $login, $full_name, $email, $url, $bio); root_redirect("user.php?name=" . $name); ?>