Code Igniter User Guide Version 1.5.0


User Agent Helper

The User Agent Helper file helps you work with browser generated data..

Loading this Helper

This helper is loaded using the following code:

$this->load->helper('user_agent');

The following functions are available:

get_OS()

Returns the operating system used by the person currently browing your site.

echo get_OS();