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'];
?>
ZK already comes with numerous layout components that provides users with a lot of options to create flexible, complex yet simple to use layouts. Q:Need highly flexible layout that allows different parts of your application UI hide/unhide? A: Use borderlayout. Q:Need structured layouts such as n-column layout or tabular layout? A: Use Columnlayout or tablelayout. […]