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'];
?>
Are you new to ZK? Did you just take over a ZK project? No worries. We will back you up. ZK Team has scheduled a live session for new users like you to help you easily get started with a new ZK project, or maintain an existing ZK application that has been handed over to […]