Thanks to Wol, John, and Paul Hruby. I will try the given code. -Bill
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Hester Sent: Wednesday, May 02, 2007 7:38 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] What's My IP Address ? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Brutzman, Bill > Sent: Wednesday, May 02, 2007 2:54 PM > To: 'u2-users@listserver.u2ug.org' > Subject: RE: [U2] What's My IP Address ? > > How do I get the client's IP address? On linux you can find this with the "who" command, but I don't know if it works on all *nixes. This will work if your version of who supports it: EXECUTE 'SH -c "who am i"', OUT > WHO.AM.I MY.IP = FIELD (FIELD (WHO.AM.I, ')', 1), '(', 2) The IP will already be resolved to the host name if it's available via DNS or /etc/hosts. -John ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/