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 have talked before about ZK integration with 3rd party themes, and ZK theme customization. These are good choices for large-scale look and feel changes to a ZK application, but they are not the only options available. In addition to these bigger projects, you can give a fresh feeling for your whole application with […]