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 have released the following ZK products for maintenance purposes and/or ZK 6.5 support. ZK Spring 3.1.1 Maintenance release to support Spring Security 3.1 along with a few bug fixes Check out release note or download. ZK JSP 2.2 Maintenance release to support all versions of ZK 6 Download ZK Gmaps 3.0.1 Maintenance bug fix […]