How to get the user browser information in Codeigniter::

How to get the user browser information in Codeigniter:: //For Ip Address:: $ip_address = $this->input->ip_address(); //For User Agent / Browser:: $this->load->library(‘user_agent’); if ($this->agent->is_browser()){ $agent = $this->agent->browser().’ ‘.$this->agent->version(); }elseif ($this->agent->is_robot()){ $agent …

How to get the user browser information in Codeigniter:: Read More