Quote:
|
Originally Posted by Ron Bennett
TheSaint- Why call a remote site to determine one's own IP address? Just grab the environment from PHP and you'll have the machine's IP and a lot more ... quick, easy, and with no dependence on a remote website.
Or does whatismyip.com do something else that I'm missing ...
Ron
.
|
You need an external web site. In my remote offices the local address is always something like 192.168.1.2 (using nat adressing). Nothing inside the firewall has anyway of getting the real address, so you need an external web site.
Obviously we are not talking about porn servers here that all have static ip.