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'];
?>
A light-weighted tab component – Is it really necessary to have 3-divs for round-cornered tabs ? Under certain conditions i.e. if you control the maximum width to under 400px and if your application does not require more complicated tabs like vertical tab or according tab, it is possible to implement lighter tabs in order to […]