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'];
?>
Time flies. 16 years have passed since the first release of ZK and now we are in the middle of getting ready for the 10th major version! We are here with two brand new architectural advancements: Client MVVM for bringing major performance boost and Stateless Components for making it possible to build cloud-native applications and fully leverage cloud resources […]