How to get Ip Address in Codeigniter?By Hardik Savani | June 13, 2016 | | 820 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();
- Laravel 5 - Google reCaptcha code and Validation example using anhskohbo/no-captcha package
- Laravel 5 import export to excel and csv using maatwebsite example.
- Laravel 5 mailchimp api integration from scratch with example
- How to get Lat and Lon from google map API in Jquery PHP?
- How to change Bootstrap Datepicker with specific date format?
- How to uninstall cordova and ionic in ubuntu
- PHP - How to implement Google new reCAPTCHA Code Example with Demo?
- How to resolve - tokenmismatchexception in verifycsrftoken.php Laravel 5 Ajax ?