array ("post", "string", ""), "newpass" => array ("post", "string", ""), "newpass2" => array ("post", "string", ""), ); getFields($fields); if ($mem->passwd($oldpass,$newpass,$newpass2)) { $msg->raise("INFO", "mem", _("Your password has been successfully changed.")); } include_once("head.php"); ?>