protected function _compile_post()
{
$output = array();
if (count($_POST) == 0) {
$output = $this->CI->lang->line('profiler_no_post');
} else {
foreach ($_POST as $key => $val) {
if (!is_numeric($key)) {
$key = "'" . $key . "'";
}
if (is_array($val)) {
$output['$_POST[' . $key . ']'] = '<pre>' . htmlspecialchars(stripslashes(print_r($val, TRUE))) . '</pre>';
} else {
$output['$_POST[' . $key . ']'] = htmlspecialchars(stripslashes($val));
}
}
}
return $output;
}