How to get Ip Address in Codeigniter?By Hardik Savani | June 13, 2016 | | 2893 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();
- How to get last record from MySQL table in Codeigniter?
- Laravel 5 amazon s3 file upload tutorial - Part 2
- AngularJS - simple image upload with preview example in PHP
- How can i print php variable in jquery?
- Simple PHP Jquery Ajax CRUD(insert update delete) tutorial example with source code
- Laravel 5.2 API using JWT authentication tutorial from scratch example
- How to revoke 'git add' before 'git commit' ?
- Solved - fatal: Failed to connect to bitbucket.org port 443: Network is unreachable