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'];
?>
We have released the following ZK products for maintenance purposes and/or ZK 6.5 support. ZK Spring 3.1.1 Maintenance release to support Spring Security 3.1 along with a few bug fixes Check out release note or download. ZK JSP 2.2 Maintenance release to support all versions of ZK 6 Download ZK Gmaps 3.0.1 Maintenance bug fix […]
Introduction Previously in ZK, applications exceeding the boundaries of browser resolution relies on desktop browsers to automatically generates scroll bars by using CSS style overflow attribute so users can view the entire page but this feature unfortunately is not available on tablet or mobile browsers. In upcoming ZK 6.5 where responsive design and one codebase […]
Introduction Tablets are inherently different from desktops. Screen sizes and resolutions are smaller, finger-swiping replaces mouse-pointing and yes, sometimes, the tablet rotates. Web designers need to take these distinctions into consideration when designing web applications to make tablet surfing experience a bliss. The soon-to-be-released ZK 6.5 introduces new features that enable developers to design user […]
Introduction The upcoming ZK 6.5 focuses on incorporating responsive design principles to afford developers the ability to create web applications which have an excellent user experience on desktops and tablet devices without writing separate applications. Designing for tablets The experience of tablets is different to that of desktops. Not only are their screens smaller, the […]