REMOTE_ADDR should contain the IP address. Check out your values by running this. Note that REMOTE_USER will contain the basic authentication username if it is used. (You know those boxes that come up asking for a username and password. If you login, REMOTE_USER will contain the username you logged in as).
#!/usr/bin/perl -w use strict; print "Content-type: text/html\n\n"; print "$_: $ENV{$_}<br />" for keys %ENV;
If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, please reply to this node or /msg me to inform me as to what is wrong with the post, so that I may update the node to the best of my ability.
In reply to Re: I can't find the IP address!
by Coruscate
in thread I can't find the IP address!
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |