getHTTPParameter("filename", "POST"), FILTER_SANITIZE_URL); # /path/to_file/File_name1234.jar $_VIEW_DATE = filter_var($App->getHTTPParameter("view_date", "POST"), FILTER_SANITIZE_STRING); # L30, L7, TODAY $_VIEW = filter_var($App->getHTTPParameter("view", "POST"), FILTER_SANITIZE_STRING); # daily, ccode $_GROUP = filter_var($App->getHTTPParameter("group", "POST"), FILTER_SANITIZE_NUMBER_INT); # 0 or 1 $_DATEFROM = filter_var($App->getHTTPParameter("datefrom", "POST"), FILTER_SANITIZE_STRING); # YYYY-MM-DD $_DATETO = filter_var($App->getHTTPParameter("dateto", "POST"), FILTER_SANITIZE_STRING); # YYYY-MM-DD echo($Mirror->getStatsJSON($_FILENAME, $_VIEW_DATE, $_VIEW, $_GROUP, $_DATEFROM, $_DATETO));