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'];
?>
Release Date: March 08, 2012 ZK Spring 3.1 is a maintenance release mainly focusing on fixing bugs and upgrading compatibility to fully support ZK 6. GenericSpringComposer has also been deprecated as it has been identified to cause potential problems under various application servers. Users are suggested to use SelectorComposer in ZK 6 and GenericFowardComposer in […]