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'];
?>
In ZK 6 RC, we introduced various new features including ZK Bind, Generic enhancements, jQuery & CSS3 style server-side selectors, advanced templates etc. Thanks to the enthusiastic response and feedback from the community, as of the release of ZK 6 RC2, we are able to make some changes to suit and serve the needs of […]