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'];
?>
This blog post is the forth of a series which introduces more new features of ZK 6. To check out main features please click here. Chosenbox is another new add-on component that comes with ZK6 which acts like a Combobox with the additional ability to select multiple items inside the box. Chosenbox supports ListSubModel, and […]