26 require_once(
"../class/config.php");
29 "id" => array (
"post",
"string",
""),
33 foreach($_POST as $k=>$v) {
38 foreach($mysql->get_dblist() as
$d){
41 if (isset($keys[
$d[
'db'].
'_'.
$r])) {
46 $mysql->set_user_rights(
$id,
$d[
'db'],$rights);
49 $msg->raise(
"INFO",
"mysql", _(
"The rights has been successfully applied to the user"));
51 include(
"sql_users_list.php");
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
foreach($_POST as $k=> $v) $cleanrights
$fields
Manages the MySQL users Rights.
if(!isset($is_include)) if(! $key &&! $crt) $id