How to get Ip Address in Codeigniter?By Hardik Savani | June 13, 2016 | | 4346 Viewer | Category : Codeigniter
If you are work on Codeigniter application and you require to get client ip address then you can get easy. you don't need to use $_SERVER variable like native PHP, but Codeigniter provide $this->input. you can fetch easy using following example:
$ip = $this->input->ip_address();
- Codeigniter - Dynamic dependent dropdown using jquery ajax Example
- How to get filename from file path in MySQL?
- PHP AngularJS CRUD with Search and Pagination Example From Scratch
- How to use DB transactions in laravel 5?
- Fadein Fadeout example in Jquery
- How to check file size when select multiple file validation using Jquery?
- Git - error failed to push some refs to git resolve?
- How to add charts in Laravel 5 using Chart JS ?