reading ipv6 instead of IPv4 in PHP
<p>When my PHP website reads my visitor IP address it shows in the IPv4 format.</p>

<p>However when I go to a third party site (such as <a href="https://www.whatismyip.com/" rel="nofollow">https://www.whatismyip.com/</a>) my visitor address shows an IPv6 format.</p>

<p>How do I get my PHP website to read/listen for/display the longer IPv6 format of the visitor IP address?</p>