Here is a sample of the results that we’re recorded in my USER-IP-FILE.txt file…#!/usr/local/bin/perl -- use CGI::Carp qw(fatalsToBrowser); $|=1; $RMIP=$ENV{'REMOTE_ADDR'}; $RUAG=$ENV{'HTTP_USER_AGENT'}; -----(later on in the code)----- # RECORD USERS IP ADDRESSES open (USERIP, ">>/usr/local/www/htdocs/classicappliances/NEW DISCU +SS/PROFILES/USER-IP-FILE.txt"); flock (USERIP, 2); print USERIP "$NAME_CHOICE--REMOTE ADDR-$RMIP---user agent-$RUAG\n +"; close (USERIP); flock (USERIP, 8);
See, all the IP address are the same? I thought the $ENV{'REMOTE_ADDR'} command picks up the each users individual IP address? Does anyone see what I’m doing wrong??? Any advice will be greatly appreciated.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) spambdamn--REMOTE ADDR-216.23.15.143---remote host----user agent-Mozil +la/4.75 [en] (Windows NT 5.0; U) jasonl--REMOTE ADDR-216.23.15.143---remote host----user agent-Mozilla/ +4.0 (compatible; MSIE 5.0; Windows 98; DigExt) earthling177--REMOTE ADDR-216.23.15.143---remote host----user agent-Mo +zilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC) angus--REMOTE ADDR-216.23.15.143---remote host----user agent-Mozilla/4 +.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; MSN 6.1; MSNbMSFT; + MSNmen-us; MSNc11) whirlpoolbklyn--REMOTE ADDR-216.23.15.143---remote host----user agent- +Mozilla/4.0 (compatible; MSIE 5.5; AOL 6.0; Windows 95) trainguy--REMOTE ADDR-216.23.15.143---remote host----user agent-Mozill +a/4.0 (compatible; MSIE 5.5; AOL 6.0; Windows 98; Win 9x 4.90)
In reply to IP Address of Person Submitting Log-In Request by Unimatic1140
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |