public function getServer($key, $default = null)
    {
        return isset($this->server[$key]) ? $this->server[$key] : $default;
    }
public function getServer($key, $default = null)
    {
        return isset($this->server[$key]) ? $this->server[$key] : $default;
    }
public function getServer ( $ key , $ default = null ) { return isset ( $ this -> server [ $ key ] ) ? $ this -> server [ $ key ] : $ default ; }
Get a value from the _SERVER array and use default if it is not set.

@param string $key     to check if it exists in the $_SERVER variable
@param string $default value to return as default

@return mixed
Get a value from the _SERVER array and use default if it is not set .