I read a few of the questions already asked, and i found this to be useful, although i have no tried it Working with IPv6 Addresses in PHP
Still, say i have a \'bans
Still, say i have a 'bans' table in MySQL. How would i go about storing the IPv6 address?
You can store it in a simple column of VARCHAR(40). Considering a sample IPv6 max is 40 byte:
2001:0DB8:0000:0000:0000:0000:1428:57ab
That coulmn will be able to contain IPv4 too