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 the upcoming ZK 8.6.0, we have added many new components. Let’s take a look at some of them! Rating We can use <rating> component to allow user rate or display rated score. <rating rating=”9″ max=”10″ /> The orientation can be assigned to vertical or horizontal (horizontal by default). The default rating symbol is a […]