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'];
?>
Unlike page based web applications, Ajax applications tend to present a lot of functionalities within single view without reloading the entire page and thereby avoiding any changes to the browser’s history. This is extremely efficient in delivering page content but at the same time also gives an unique problem to Ajax application developers who wishes […]
ZK already comes with numerous layout components that provides users with a lot of options to create flexible, complex yet simple to use layouts. Q:Need highly flexible layout that allows different parts of your application UI hide/unhide? A: Use borderlayout. Q:Need structured layouts such as n-column layout or tabular layout? A: Use Columnlayout or tablelayout. […]
ZK Spreadsheet delivers rich functionality of Excel® within browsers thereby allowing developers to create collaborative and dynamic enterprise applications. Sometimes users of these enterprise applications need to export these collaborative spreadsheet contents for offline reading, reporting & filing or sending as email attachments. With the release of ZK Spreadsheet 2.0 beta3 we have added a […]
JSR-299 spec of JEE6 platform defines a simple yet very powerful event notification model. It has three significant parts; event producer, event payload and event observer. In this blog I will explain how ZK developers can leverage this model to write UI event handlers. Lets take a look at the example demo first. It is […]