Getting a public IP address when connected to a router
Medard
liste.revo at medard.on-rev.com
Mon Dec 20 05:58:48 EST 2010
Mark Schonewille <m.schonewille at economy-x-talk.com> 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:
===code===
get $_SERVER["REMOTE_ADDR"]
put it into tip
put "whois" && tip into tcde
put shell(tcde)
===/code===
Now, a little grepping would help ;-)
More information about the use-livecode
mailing list