Bob: http://www.whatismyip.com says:
Your IP Address Is: 75.108.90.130 ipconfig says: IP Address. . . . . . . . . . . . : 75.108.90.130 I guess I don't know what a "local" IP is. Mike --- On Mon, 5/17/10, Bob Sneidar <b...@twft.com> wrote: > From: Bob Sneidar <b...@twft.com> > Subject: Re: getting the user's (internet, not local network) IP address > To: "How to use Revolution" <use-revolution@lists.runrev.com> > Date: Monday, May 17, 2010, 12:15 PM > That is the local IP. I think he > wants to know what the IP is on the public side of the > gateway. > > I think there are many sites that will return what IP you > are connecting from. One of them is http://www.whatismyip.com. Not sure how > to parse that > out from the html that is returned. I'd have to see what > form it takes. Once you have that you can simply use the web > plugin to get the html from that url. > > Bob > > > On May 14, 2010, at 11:51 AM, Michael Kann wrote: > > > Josh, > > > > Using: > > ------------------------------------------ > > set the hideConsoleWindows to true > > put shell("ipconfig/all") into v > > put v into fld 1 > > end mouseUp > > ------------------------------------------ > > Gives you: > > ------------------------------------------ > > > > Windows IP Configuration > > > > Host Name . . . . . . . . . . . . : fake11 > > Primary Dns Suffix . . . . . . . : fake.edu > > Node Type . . . . . . . . . . . . : Hybrid > > IP Routing Enabled. . . . . . . . : Yes > > WINS Proxy Enabled. . . . . . . . : No > > DNS Suffix Search List. . . . . . : fake.edu > > > > Ethernet adapter Local Area Connection: > > > > Connection-specific DNS Suffix: > > Description: Broadcom NetXtreme 57xx Gigabit > Controller > > > > Physical Address. . . . . . . . . : 00-FA-KE-B8-AE-8B > > Dhcp Enabled. . . . . . . . . . . : Yes > > Autoconfiguration Enabled . . . . : Yes > > IP Address. . . . . . . . . . . . : 75.108.90.130 > > Subnet Mask . . . . . . . . . . . : 255.255.254.0 > > Default Gateway . . . . . . . . . : 75.108.90.1 > > DHCP Server . . . . . . . . . . . : 172.24.120.39 > > DNS Servers . . . . . . . . . . . : 208.180.42.100 > > > > 208.180.42.68 > > Lease Obtained: Friday, May 14, 2010 8:52:39 AM > > Lease Expires: Saturday, May 15, 2010 9:48:49 AM > > > > > > Ethernet adapter Wireless Network Connection: > > > > Media State . . . . . . . . . . . : Media > disconnected > > Description . . . . . . . . . . . : Dell Wireless 1370 > WLAN Mini-PCI Card > > Physical Address. . . . . . . . . : 00-14-FA-KE-1E-73 > > > > > > --- On Thu, 5/13/10, Josh Mellicker <j...@dvcreators.net> > wrote: > > > >> From: Josh Mellicker <j...@dvcreators.net> > >> Subject: Re: getting the user's (internet, not > local network) IP address > >> To: "How to use Revolution" <use-revolution@lists.runrev.com> > >> Date: Thursday, May 13, 2010, 10:15 PM > >> Does that get the internet IP or > >> local IP? > >> > >> > >> On Mac, this returns: > >> > >> usage: ipconfig <command> <args> > >> where <command> is one of waitall, > getifaddr, > >> ifcount, getoption, getpacket, set, setverbose > >> > >> > >> > >> On May 13, 2010, at 7:24 PM, Michael Kann wrote: > >> > >>> 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 <j...@dvcreators.net> > >> wrote: > >>> > >>>> From: Josh Mellicker <j...@dvcreators.net> > >>>> Subject: getting the user's (internet, not > local > >> network) IP address > >>>> To: "how to use Revolution" <use-revolution@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@lists.runrev.com > >>>> Please visit this url to subscribe, > unsubscribe > >> and manage > >>>> your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> > >>> > _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution@lists.runrev.com > >>> Please visit this url to subscribe, > unsubscribe and > >> manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe > and manage > >> your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and > manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution