array ("post", "string", ""), "awsusers" => array ("post", "array", ""), "hostaliases" => array ("post", "array", ""), ); getFields($fields); if ($aws->check_host_available($hostname)) { $r=$aws->add_stats($hostname,$awsusers,$hostaliases,1); if (!$r) { include("aws_add.php"); exit(); } else { $msg->raise('Ok', "aws", _("The statistics has been successfully created")); include("aws_list.php"); exit(); } } else { include("aws_add.php"); exit(); } ?>