How to handle IPv6 Addresses in PHP?

How about inet_ntop()? Then instead of chopping things into integers, you just use a varbinary(16) to store it.

Leave a Comment