Tagged: CodeIgniter

Mobile OS detection in PHP CodeIgniter 3

Mobile OS detection in PHP CodeIgniter

For doing this there is one good plugin called “Mobile Detect”. Just download library from https://github.com/serbanghita/Mobile-Detect Put Mobile_Detect.php inside libraries folder of ci application. Whenever you need to detect the OS or any other parameter, use following...


Redirect to URL in CodeIgniter

This can be done by using URL Helper of CodeIgniter. This helper library should br loaded using the following code:

To redirect you just need to call function as follow:

See more...