[thelist] PHP: Find Wide-Area Network IP Address

David Bindel dbindel at austin.rr.com
Tue Jun 11 23:46:01 CDT 2002


Is there a PHP function to find your Wide Area Network (WAN)
IP address?

I have tried this on my own computer:

echo $_SERVER['REMOTE_ADDR'];

but it returns 127.0.0.1.... localhost, not my REAL IP
address.

I have seen this feature on several websites, and I need to
find some way to do it on a project that I am working on
right now.

TIA,
David Bindel




More information about the thelist mailing list