Ip address internal PHP


#1

Hello,

I would like to know if someone have an idea on how to return the internal ip of a visitor in a php page (eg: 192.168.0.13)
All scripts returns external ip.

Do you know a script…

Thank you
Fox


#2

I believe it’s not possible…


#3

with PHP you get the IP-address used to access the webserver - if the webserver is in the same internal network you would see the internal IP-address of the client - if the client leaves the network to access your webserver he will use another IP

but maybe WebRTC could help, and this too: http://www.ghacks.net/2015/01/27/sites-may-detect-the-local-ip-address-in-browsers-supporting-webrtc/

rgds
mac


#4

Hello,

U are always on top mac :slight_smile:
Thank you very much

Fox