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 Multi-media applications are becoming more and more common on the web. To satisfy the increasing demand, we are introducing a new component in ZK – ZK Webcam, which communicates with a camera directly based on the jQuery webcam plugin and also integrating another ZK component, canvas4z for previewing snapshots. By using this component, user […]