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'];
?>
The Rise of Front-End Technology There is no doubt that the development of client-side technologies has been very active in recent years. It covers various aspects including web specifications like Web Components; CSS frameworks like Bootstrap; Javascript frameworks like AngularJS; and even development tools like Grunt. There are countless examples. In essence, these technologies […]