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'];
?>
Introduction The upcoming ZK 6.5 focuses on incorporating responsive design principles to afford developers the ability to create web applications which have an excellent user experience on desktops and tablet devices without writing separate applications. Designing for tablets The experience of tablets is different to that of desktops. Not only are their screens smaller, the […]