If this was already asked I do apologize but I searched for a good two hours about this.
So I have a website and on it I have an admin panel that logs all my admin's actions, when doing so I grab their IP just in case the session bugs and deletes the name variable. However I've noticed some people have IPS' such as AT&T that seemingly encrypt your IP address. The IP address comes out looking like this:
2600:1003:b109:9b8a:70c7:3b0e:5fd3:d8f3
Does anyone know how to convert it to be back like this:
xxx.xxx.xxx.xxx
I've noticed that sites like whatsmyip.org do this.
Edit after reply: I feel stupid, I didn't even think about this being an IPv6 Address. Thanks for pointing it out everyone.