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

Andre Garzia andre at
Fri May 14 15:01:06 EDT 2010


I don't think a better way is needed. Since in the rare case that he has a
network connection but can't connect to your server, then, there's something
odd happening.

Yes there's the case where the whole app locks while trying to find if it
can connect or not, maybe setting the socketTimeout to low value might speed
up the failure scenario.


On Thu, May 13, 2010 at 11:14 PM, Josh Mellicker <josh at>wrote:

> 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 "
> "
> Is there a better way?_______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

-- All We Do Is Code.

More information about the Use-livecode mailing list