getting the user's (internet, not local network) IP address

Jeff Massung massung at gmail.com
Fri May 14 15:17:28 EDT 2010


On Thu, May 13, 2010 at 9:14 PM, Josh Mellicker <josh at dvcreators.net> wrote:
>
>
> To get the user's (internet, not local network) IP address, put a text file
> on your server with this code:
>
> <?php echo $_SERVER['REMOTE_ADDR']; ?>
>
>
>
This still doesn't [fully] work. While not the local IP address, you'd still
have to perform NAT traversal in order to do any actual communication with
the client machine (read: anything useful).  At best, with this IP address
you can find out the general county/city the client machine is located in.

Jeff M.



More information about the Use-livecode mailing list