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'];
?>
Since 2005 ZK has been renowned for its’ server-centric approach, providing the ultimate in productivity gains. In addition, developers can now optionally leverage the full controllability of client-side programming. It is not about server-centric or client-centric, it is about developer-centric!
Nowadays application development is a matter of dealing with a large number of technologies, libraries, frameworks, etc. You typically
have to put together things such as Hibernate or JPA with LDAP directories, content repositories and with ZK etc.
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.