25 require_once(
"../class/config.php");
28 "hostname" => array (
"post",
"string",
""),
29 "awsusers" => array (
"post",
"array",
""),
30 "hostaliases" => array (
"post",
"array",
""),
34 if ($aws->check_host_available($hostname)) {
35 $r=$aws->add_stats($hostname,$awsusers,$hostaliases,1);
37 include(
"aws_add.php");
40 $msg->raise(
'Ok',
"aws", _(
"The statistics has been successfully created"));
41 include(
"aws_list.php");
46 include(
"aws_add.php");
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.