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 In ZK 8.5, there is a new session, where a WebSocket-based update engine is introduced to handle requests if the browser is supported. The advantage of WebSocket (over AJAX), is once the connection has been established, all future messages are passed over the socket rather than new HTTP request/response calls. The ping and pong messages […]
Introduction The Fragment component is one of the highlights in the upcoming ZK 8.5. It has an experimental offline recovery feature that let developers keep the user input data offline and handle the data online. It will be helpful if you are building a Progressive Web App (PWA) with ZK. Progressive Web App (PWA) Progressive Web App […]
Introduction In the upcoming ZK 8.5.0, we are glad to introduce you all a new change in Frozen – smooth scrolling! Frozen, is a ZK component that was first introduced in 2015, which can be used in Grid, Listbox and Tree. Its function is to help you lock the specific certain columns that users can […]