getting the user's (internet, not local network) IP address
josh at dvcreators.net
Thu May 13 21:14:12 CDT 2010
Just thought I'd share this in case it was of any use to anyone, and so at least one post on the list is not about Steve Jobs and Apple's tyrannical actions :-)
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']; ?>
Then in your app:
get url "http://yourdomain.com/folder-you-put-the-php-file-in/your-php-filename.php"
Is there a better way?
More information about the use-livecode