Can AnyOne tell Me How to fetch Visitor IpV6 in Php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can AnyOne tell Me How to fetch Visitor IpV6 in Php?

when I am try To fetch Visitor or User Ip . I will get only ipv4 and Other Website will show both Ip ipv4 and ipv6 like whatismyip.com

7th Sep 2020, 4:00 AM
Yaro Ka Yar
Yaro Ka Yar - avatar
1 Answer
0
Have you tried $_SERVER["REMOTE_ADDR"] ? Also, make sure IPv6 support is enabled in your server so the client knows it can communicate using IPv6.
9th Sep 2020, 2:27 AM
Josh Greig
Josh Greig - avatar