Answer the question
In order to leave comments, you need to log in
How to get local IP address?
Hey!
How to get the local IP address of a mobile device in PHP.
There is a Wi-Fi router that distributes the Internet to mobile devices (mobile phones / laptops).
How to get exactly the local IP address of the client assigned by the router . I write like this:
but the script gives out the IP address through which I go to the Internet.
Tried many ways but nothing works. But, after all, how do they get my local address on 2ip.ua? echo $_SERVER['REMOTE_ADDR'];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question