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'];
?>
To those awaiting ZK 8.5: ZK Team is proud to announce that ZK 8.5 will be released on Oct. 31, 2017! And before this major release, we’d like to share you about our introductory walk-throughs. To help everyone gain a better understanding on the new features ZK 8.5 brings, we are hosting two public online […]
ZK is renowned for its “Ajax without JavaScript” since day one. But now, ZK has decided to befriend with JavaScript. What’s the catch? “Ajax without JavaScript” is derived from ZK’s server-centric architecture, which uses a desktop-like programming model to shield developers from JavaScript and complicated server-browser communication. The focus on server-side Java application development makes […]