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'];
?>
The Rise of Front-End Technology There is no doubt that the development of client-side technologies has been very active in recent years. It covers various aspects including web specifications like Web Components; CSS frameworks like Bootstrap; Javascript frameworks like AngularJS; and even development tools like Grunt. There are countless examples. In essence, these technologies […]
While supporting our customers we feel it would be convenient to have a cheatsheet so that everyone can look up the commands easily and avoid being overwhelmed by complicated documentation. This cheatsheet summarizes the basic usage and the purpose of each ZK MVVM binding command, saving you from having to memorize everything by heart. To […]
Introduction In the upcoming ZK8 release, there are many exciting new features, and among them is client side binding API (client binding for short). With client binding, we can not only trigger commands in the server side, but also register callbacks that may be invoked after executing server side commands. In other words, it is […]