in reply to Re: Re: Re: IP Address of Person Submitting Log-In Request
in thread IP Address of Person Submitting Log-In Request

Well, first strange thing I noticed in your code is:

this is your print line:
print USERIP "$NAME_CHOICE--REMOTE ADDR-$RMIP---user agent-$RUAG\n";
and this is one of your sample results:
Unimatic1140--REMOTE ADDR-216.23.15.143---remote host----user agent-Mo +zilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90
Well, it doesn't make sense. There is the ---remote host---- in your sample result that shouldn't be there, unless it comes from the $RMIP ...

One thing you should try is to make things simple so you can be sure that the problem is with the variable. Have you tried to print only $RMIP to the file?

Hope that helps.

Er Galvão Abbott
a.k.a. Lobo, DaWolf
Webdeveloper