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'];
?>
Web testing is an important part when developing a web application. It helps us to uncover the functionality and usability issues in our application. In a ZK application, we can already leverage ZATS for functional testing and Selenium WebDriver tests for the real browser testing. While ZATS is still the recommended tool to test your […]