Thanks for your recommendations Fastolfe and Tune of using $ENV{'HTTP_X_FORWARDED_FOR'} unfortunately this turned up to be a blank too. So I decided to try to record all the current environment variables when ever a user logs into to our web site. Here is a typical expample of what I received for each login:
User: Appnut SERVER_SOFTWARE is set to Apache/1.3.12 (Unix) PHP/4.0.3pl1 GATEWAY_INTERFACE is set to CGI/1.1 DOCUMENT_ROOT is set to /usr/local/www/htdocs/classicappliances REMOTE_ADDR is set to 216.23.15.143 REQUEST_METHOD is set to POST QUERY_STRING is set to HTTP_ACCEPT is set to application/vnd.ms-excel, application/msword, ap +plication/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, +image/pjpeg, */* REMOTE_PORT is set to 46795 SERVER_ADDR is set to 216.23.15.143 HTTP_ACCEPT_LANGUAGE is set to en-us HTTP_ACCEPT_ENCODING is set to gzip, deflate SCRIPT_FILENAME is set to /usr/local/www/htdocs/classicappliances/cgi- +bin/userlogin.cgi SERVER_NAME is set to classicappliances.com HTTP_PRAGMA is set to no-cache SERVER_PORT is set to 80 PATH_TRANSLATED is set to /usr/local/www/htdocs/classicappliances/cgi- +bin SERVER_ADMIN is set to [no address given] SCRIPT_URI is set to http://classicappliances.com/cgi-bin/cgiwrap/clas +sicappliances/userlogin.cgi SCRIPT_URL is set to /cgi-bin/cgiwrap/classicappliances/userlogin.cgi SERVER_SIGNATURE is set to <ADDRESS>Apache/1.3.12 Server at classicapp +liances.com Port 80</ADDRESS> SERVER_PROTOCOL is set to HTTP/1.0 HTTP_REFERER is set to http://classicappliances.com/NEW%20DISCUSS/DISP +LAY%20PAGES/NEW%20DISCUSS%20LOGIN.htm HTTP_USER_AGENT is set to Mozilla/4.0 (compatible; MSIE 5.01; Windows +95) PATH is set to /usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin +:/usr/ucb:/usr/ccs/bin:/usr/openwin/bin:/usr/local/scripts:/usr/local +/www/bin:/shared/var/common:. TZ is set to US/Pacific SCRIPT_NAME is set to /cgi-bin/cgiwrap/classicappliances/userlogin.cgi REQUEST_URI is set to /cgi-bin/cgiwrap/classicappliances/userlogin.cgi PATH_INFO is set to CONTENT_LENGTH is set to 51 CONTENT_TYPE is set to application/x-www-form-urlencoded HTTP_FORWARDED is set to by http://uspxy16.fa.aexp.com:8080 (Netscape- +Proxy/3.53) HTTP_HOST is set to www.classicappliances.com
I tried to contact the technical support of my ISP and they said "sorry, but we don't provide tech support for CGI programming". So I'm still stuck, any other ideas out there? Thanks again for everyone's suggestions

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.