Possible Duplicate:
suddenly $_SERVER['REMOTE_ADDR'] is started returning 10.10.10.10 php
I must have missed some fundamental thing here.. But when I navigate to an IP-displaying site such as http://www.whatsmyip.org/ they show a certain IP. But when I echo out $_SERVER["REMOTE_ADDR"] on a page on my site it shows a different IP.
Why is that? And how can I, through PHP, fetch the same IP that the whatsmyip.org site shows?
If your computer is on the same network with your server, behind a router with NAT, then you might see your private IP