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 In ZK 8, we enhance the performance of MVVM and had it made more powerful. One of the most important features is the enhancement of children binding. Originally, children binding allows us to bind child components to a collection, in which we can create a group of similar components dynamically upon the collection with […]
Introduction We are glad to introduce the new generation expression language of Java EE 7 – Expression Language 3 (EL 3) into ZK 8 so we can do more complicated and more powerful things with the newer expression language. There are many new features in EL 3 such as new operators, lambda expressions, collection operations […]
2015/3/16 updated: Now the proxy object in form binding will auto-detect the changes of proxy object and form status. In this sample, the following code segment can be omitted : BindUtils.postNotifyChange(…); Introduction We are glad to disclose the firsthand information on one of the most to die for features in ZK 8 – New Form […]