JimDuyer has asked for the wisdom of the Perl Monks concerning the following question:
Is the $ENV{'REMOTE_ADDR'} that is being populated with the IP of the user, still going to populate when a IPv6 is used ? As in : my $ip = $ENV{'REMOTE_ADDR'}; would show for example, 2001:738:2001:2010:0:ff:fe00:3. or the IP4 of 72.14.204.105 depending on how the user hit the script, correct ? No changes ? (Other than I need to rewrite the regex in my code that compares a valid ip with 4 groups with dots)
This is on an apache server. Where do I read the Rentucky Fried Chicken RFC ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Easy One, about IPv6
by stevieb (Canon) on Jun 28, 2012 at 00:02 UTC | |
by JimDuyer (Sexton) on Jun 30, 2012 at 00:54 UTC | |
|
Re: Easy One, about IPv6
by Anonymous Monk on Jun 27, 2012 at 20:20 UTC |