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

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -