']; if ($based_on_ip) { // For load balancing or Reverse Proxy if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER) && in_array($_SERVER['HTTP_X_FORWARDED_FOR'], $range_ip)) { $env = $conditional_environment; } else if (in_array($_SERVER['REMOTE_ADDR'], $range_ip)) { $env = $conditional_environment; } } Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2015, Porto, Portugal, September 7-11, 2015, Proceedings, Part I | OPEN EDUCATIONAL RESOURCES