setName($username); $user->setPassword($password); $user->setFullname($fullname); $user->setEmail($email); $user->setLocation($location); $user->setPhone($phone); $user->setTypeU($utype); $user->setTypeRO($uro); $user->setComments($comments); $user->add(); logevent(-1, "IRM", 5, "setup", "User $username added by $IRMName"); //header("Location: $HTTP_REFERER"); //phpinfo(); ?>