Welcome Guest, Not a member yet? Register   Sign In
Getting user's IP address: input vs session methods
#9

[eluser]Massaki[/eluser]
I think the best way is using $this->input->ip_address(), because if you reutilize the method in another program, and the session library is not loaded (not needed), you won't get it.


Messages In This Thread
Getting user's IP address: input vs session methods - by El Forum - 03-05-2014, 02:04 PM
Getting user's IP address: input vs session methods - by El Forum - 03-05-2014, 03:59 PM
Getting user's IP address: input vs session methods - by El Forum - 03-05-2014, 08:08 PM
Getting user's IP address: input vs session methods - by El Forum - 03-05-2014, 11:04 PM
Getting user's IP address: input vs session methods - by El Forum - 03-06-2014, 12:45 PM
Getting user's IP address: input vs session methods - by El Forum - 03-06-2014, 04:00 PM
Getting user's IP address: input vs session methods - by El Forum - 03-06-2014, 04:22 PM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 04:20 AM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 07:53 AM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 07:59 AM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 11:49 AM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 11:50 AM
Getting user's IP address: input vs session methods - by El Forum - 03-07-2014, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB