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'];
?>
Most Ajax pages are not SEO friendly, so the natural question is how to implement this in ZK. The question is also applies if your ZK application works using a Bookmark mechanism. You can implement SEO in an easy manner following these two steps…