Get my IPs in a normal format
Posted by:
Dugi
(82.114.94.---)
Date: January 01, 2013 10:17PM
Hello,
I'm not really familiar with this IPv4 and IPv6 stuff, but I figured out that IPv4 are the standard looking IPs like 127.0.0.1 while IPv6 are IPs like ::1.
I am getting those ::1 IPs and I don't really want them on my wamp. For example when I echo out the $_SERVER['REMOTE_ADDR'] I get ::1. How do I make it return 127.0.0.1 instead?
Thanks.
EDIT:
I even get something like this returned fe80::547f:a598:34f6:d502
?????
Edited 1 time(s). Last edit at 01/01/2013 10:20PM by Dugi.