Invalid param $server instead of $_SERVER