passwd($oldpass,$newpass,$newpass2)) { $error=$err->errstr(); } else { $error=_("Your password has been successfully changed."); } include("head.php"); ?>