array ("post", "string", ""), "dir" => array ("post", "string", ""), ); getFields($fields); $r=$sta2->add_stats_raw($hostname,$dir); if (!$r) { $error=$err->errstr(); include("sta2_add_raw.php"); exit(); } else { $error=_("The statistics has been successfully created"); include("sta2_list.php"); exit(); } ?>