I am very new to coding and need some help. I have numerous sites that show scripts on how to show a users IP address using scripts like;
$ip = getenv('REMOTE_ADDR');
echo("<br/>Your IP Address is $ip");
the above works fine for internet users who are not using NAT or proxie. I would like to be able to get both the Users PC IP address as well as the users gateway/proxie address. I would like my site to show BOTH the REMOTE_ADDR and the USERS PC ADDRESS.
Any help would be very much appreciated.