knowram Posted December 4, 2006 Share Posted December 4, 2006 Is there any way to figure out what the WAN ip address is of the computer being used to visit a site?thanks for the help Link to comment https://forums.phpfreaks.com/topic/29404-finding-ip-addresses/ Share on other sites More sharing options...
zq29 Posted December 4, 2006 Share Posted December 4, 2006 One (sometimes unreliable) method is to use the $_SERVER['REMOTE_ADDR'] variable. Link to comment https://forums.phpfreaks.com/topic/29404-finding-ip-addresses/#findComment-134915 Share on other sites More sharing options...
keeB Posted December 4, 2006 Share Posted December 4, 2006 I think the WAN IP address is different than the Normal one, but I could be wrong... Link to comment https://forums.phpfreaks.com/topic/29404-finding-ip-addresses/#findComment-134935 Share on other sites More sharing options...
zq29 Posted December 4, 2006 Share Posted December 4, 2006 [quote author=keeB link=topic=117304.msg478531#msg478531 date=1165251605]I think the WAN IP address is different than the Normal one, but I could be wrong...[/quote]As far as my understanding goes, generally there are two different types of IP address, LAN ([b]L[/b]ocal [b]A[/b]rea [b]N[/b]etwork) and WAN ([b]W[/b]ide [b]A[/b]rea [b]N[/b]etwork). LAN being your internal network IP address (i.e. 192.168.2.101) and WAN being your external, internet facing, IP address (i.e. 82.152.251.42) - If you're behind a proxy, you're WAN IP address would appear different than what you might be expecting though. Link to comment https://forums.phpfreaks.com/topic/29404-finding-ip-addresses/#findComment-134956 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.