My web page offline return lpv4 format ip address
But uploading on server(online) it will show a lpv6 ip address.
Main Purpose is to get client pc ip address on my website
localhost wamp ip address
- 0.0.somthing
Webhost ip address get is 2402:3a80:872:94a:d99f:d430:3dae:980
<?php
echo $_SERVER['REMOTE_ADDR'];
?>