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'];
?>
We are always being asked about our environment setup within the ZK office and how to setup a ZK environment. First of all this blog will cover the typical development environment of a ZK developer. It will not cover setting up an environment to develop ON ZK, at least not yet. So without further ado […]