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 If you thought responsive web design (RWD) in ZK could not get any better, you thought wrong. In the past, ZK has provided a way for developers to make their website responsive in CSS. Since the metric to weight search results on a mobile device is now largely based on how mobile-friendly a site […]
While working on the new version of ZK the question kept popping up, what do people want? If you could improve ZK, what would you do? One thing kept coming up time and time again, that was to further our support for mobile platforms such as tablets. One of the interesting pieces of feedback which […]
Introduction The Web and mobile development market are growing rapidly with more and more enterprises needing a strong presence on both platforms. This leads to a need for significant time and money investment creating applications which fulfil the needs of both platforms. Most vendors provide separate component set for touch devices does not alleviate the […]
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 […]