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 We introduced a new ZK-Less Engine built on Node.js in the release of ZK 7.0.3. The new Engine will have a much faster compiling speed. You will need to install Node.js in your environment in order to use it. If you have not tried ZK-Less features yet, please take a quick look at How […]