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'];
?>
A couple weeks ago, I was working on a customer’s support about how to reduce memory footprint of a ZUL page. At the time, I found it odd that the ZUL page was pretty simple but it retains plenty of ZK components on the server. After some research, we found the issue was caused by […]
ZK composite is a concept in which we design a customized component based on a template zul file we composed (like a ZK Macro component); however, unlike a Macro component, developers could include other children components within a ZK composite.
You can speed up page load times by combining JavaScript files. Today I will describe the process of merging several JavaScript file into one in your ZK application.
We are pleased to announce the introduction of two new components, hlayout and vlayout which enable you to layout your page in an easier and more controllable manner.
It is now possible to use Selenium IDE to test ZK applications without the need for a UUID generator. This is achieved by integrating the ZK selector into Selenium IDE. Selenium IDE’s main power is that it can easily generate different programming language formats such as Junit, TestNG, Groovy, PHP, Python, Ruby bringing a hold host of testing power to your fingertips.
Yesterday, we launched several new ZK 5 features, including Frozen Column, In-place-editing and Rowspan within a grid. These features enhance the usage of ZK.
These features provide a more flexible grid table allowing the user modify and navigate the data quickly and easily, just like a spreadsheet.