How to get Ip Address in Codeigniter?By Hardik Savani | June 13, 2016 | | 677 Viewer | Category : Codeigniter
Share this post:
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();
- How to get product using rakuten marketing api in PHP?
- How to use soft delete in Laravel 5?
- Select box with search option example in Jquery using Chosen Plugin
- How to do remember me function at login option in laravel 5?
- Laravel 5 Instagram API tutorial with example
- Laravel 5.3 - Form Input Validation rules example with demo
- Solved - Access Not Configured. Google+ API (truncated...) on google console developer
- Bootstrap notification popup box example using bootstrap-growl JS plugin with demo