Getting a public IP address when connected to a router

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Dec 19 09:32:50 EST 2010


Hi Medard,

The RevServer should be able to do something like:

put $_SERVER['REMOTE_ADDR'] into myRemoteIP

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce

On 19 dec 2010, at 15:17, Medard wrote:

> Terry Judd <tsj at unimelb.edu.au> wrote:
> 
>> Does anyone have a LC routine (or tips on how to write one) that will enable
>> me to get a public IP address rather than the local one assigned by a
>> router?
> 
> All the solutions given do work
> -- but think they will give a wrong one if they are NOT called locally
> i.e. in .irev file:
> you got the server IP (Texas) ;-)
> 
> So, my question is: is it possible to get MY IP from within a .irev
> file, which runs on a distant server?





More information about the Use-livecode mailing list