getting the user's (internet, not local network) IP address
Michael Kann
mikekann at yahoo.com
Thu May 13 22:24:19 EDT 2010
On Windows XP:
on mouseUp
set the hideConsoleWindows to true
put shell("ipconfig") into fld 1 // parse out what you want
end mouseUp
--- On Thu, 5/13/10, Josh Mellicker <josh at dvcreators.net> wrote:
> From: Josh Mellicker <josh at dvcreators.net>
> Subject: getting the user's (internet, not local network) IP address
> To: "how to use Revolution" <use-revolution at lists.runrev.com>
> Date: Thursday, May 13, 2010, 9:14 PM
> 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?_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list