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