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'];
?>
Starting from ZK 6, all information, including selection, opened objects, sorting and multiple selection, are now maintained in the model rather than within the components (listbox, combobox, etc.) for providing better flexibility Which means that two components are now able to share a common model. However, in some use cases we may want two components […]
In some cases, for convenience, user wishes to freeze both columns and rows. To freeze specific columns, you can simply use ZK Frozen component to specify the number of columns you wish to freeze, however, Frozen component does not support row freeze. In this blog, I will show you how you can freeze not only […]