ip - Compare IPv4 and IPv6 address in PHP -
my office has static ip address. in php script wanted check if request office, using $_server['remote_addr']. ip address reported of format 2a00:42c1:1d11:a511:e6c3:8f42:8db2:38a2, guess that's ipv6. ipv6 address reported seems change 1 day next.
given changing ipv6 address declared in request , known ipv4 address that's assigned static ip, how can check if request comes location?
Comments
Post a Comment