26 require_once(
"../class/config.php");
29 "oldpass" => array (
"post",
"string",
""),
30 "newpass" => array (
"post",
"string",
""),
31 "newpass2" => array (
"post",
"string",
""),
37 if (
$mem->passwd($oldpass,$newpass,$newpass2)) {
38 $msg->raise(
"INFO",
"mem", _(
"Your password has been successfully changed."));
41 include_once(
"head.php");
44 <div align=
"center"><h3><?php
__(
"Password change"); ?></h3></div>
46 echo
$msg->msg_html_all();
47 echo
"<p><span class='ina'><a href='mem_param.php'>"._(
"Click here to continue").
"</a></span></p>";
48 include_once(
"foot.php");
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
$fields
Changes a user account's password.