26 require_once(
"../class/config_nochk.php");
27 include_once(
"head.php");
30 "usr" => array (
"request",
"integer", 0),
31 "cookie" => array (
"request",
"string",
""),
32 "cle" => array(
"request",
"string",
""),
37 <h3><?php
__(
"Change the email of the account"); ?></h3>
39 echo
$msg->msg_html_all();
40 if (
$msg->has_msgs(
"ERROR")) {
41 echo
"<p><span class='ina'><a href='mem_param.php'>"._(
"Click here to continue").
"</a></span></p>";
42 include_once(
"foot.php");
46 <form method=
"post" action=
"mem_cm2.php">
48 <table border=
"1" cellspacing=
"0" cellpadding=
"4">
49 <tr><td colspan=
"2"><input type=
"hidden" name=
"usr" value=
"<?php ehe($usr); ?>" /><input type=
"hidden" name=
"cookie" value=
"<?php ehe($cookie); ?>" />
50 <?php
__(
"Change the email of the account"); ?><br />
51 <?php
__(
"Enter the key you got when you requested the mailbox change, then click the OK button."); ?></td></tr>
52 <tr><th><label
for=
"cle"><?php
__(
"Key"); ?></label></th><td><input type=
"text" class=
"int" name=
"cle" id=
"cle" value=
"<?php ehe($cle); ?>" size=
"8" maxlength=
"8" /></td></tr>
53 <tr><td align=
"center" colspan=
"3"><input type=
"submit" class=
"inb" name=
"submit" value=
"<?php __("OK
"); ?>" /></td></tr>
56 <?php 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.
csrf_get($return=false)
Give a new CSRF uniq token for a form the session must be up since the CSRF is linked to the session ...
$fields
Change the email of an account, STEP 2.