Getting a public IP address when connected to a router

Medard liste.revo at
Mon Dec 20 05:58:48 EST 2010

Mark Schonewille <m.schonewille at> wrote:

> I'm sure there are many different ways to solve this little problem. 
> For instance, you can make a little faceless application, which uploads
> your IP address to your server every time it changes.

I had another idea...
How about a "whois" query?

I started with this:


        get $_SERVER["REMOTE_ADDR"]
        put it into tip
        put "whois" && tip into tcde
        put shell(tcde)


Now, a little grepping would help ;-)

More information about the Use-livecode mailing list