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'];
?>
It is now possible to use Selenium IDE to test ZK applications without the need for a UUID generator. This is achieved by integrating the ZK selector into Selenium IDE. Selenium IDE’s main power is that it can easily generate different programming language formats such as Junit, TestNG, Groovy, PHP, Python, Ruby bringing a hold host of testing power to your fingertips.