if (!empty($_SERVER['HTTP_CLIENT_IP']))
$ip=$_SERVER['HTTP_CLIENT_IP'];
else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
else
$ip=$_SERVER['REMOTE_ADDR'];
?>
Introduction ZK Pivottable is a data summarizing component; taking a flat table as raw data and organizes the data into desired categories arranged by columns and rows. It brings the power of spreadsheet’s pivot table functionality to Java web applications. This blog post will demonstrate how ZK Pivottable can be used inside a JSP page. […]