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 the previous post, we have explored the benefits of combining ZK with Spring MVC. In essence, applying the power of Spring MVC to ZK UI framework allows seamless communication between client and server channels, especially since ZK framework will handle the routine tasks, such as HTML DOM update, Browser compatibility, and JavaScript code […]
Happy Tenth Anniversary, ZK! In honor of this very special occasion, for the first time ever, ZK team is hosting a Data-Attribute Handler Contest! Celebrate with us! Prove your skills, showcase your talents and win a New Years gift! This contest is open to all ZKers and web developers. Our only requirements are that you (1) […]
It’s ZK’s Ten-Year Anniversary! In honor of our ten-year anniversary, we have introduced our eighth version of ZK. In this latest release, ZK has taken a giant leap closer to the concept of “zero coding.” Never has front-end and back-end integration been so simple and efficient. In addition, with our clear view and logic separation, […]
Introduction The Spring web MVC framework is a well-known web model-view-controller architecture that provides solutions for RESTFul web sites or for URL routing system purposes. To develop with a rich web application, the most popular pattern in the Java world recently is to choose Spring MVC + jQuery or other JavaScript UI frameworks, such as […]