Get real ip |
Hi
I try use PHP Code: function get_user_ip() { But it get 159.69.37.104,159.69.37.14 But i need real ip Please help me
Have a look if the correct values appear in $_SERVER variable, anywhere.
Built in ip_address function was relatively good too - https://www.codeigniter.com/user_guide/l...ip_address If you use more advanced set up, I remember our loadbalancer masking real IPs sometimes until sys admin changed config to pass real user IP when request was sent to different web server instances.
|
Welcome Guest, Not a member yet? Register Sign In |