Store IPv6 in database
- by poru
What's the best practise to store IP's with PHP in MySQL database?
There's a function called ip2long - but this is just for IPv4.
But what about IPv6?
I know a php function that is for IPv6 IP's,
but it doesn't work on Windows with PHP < Version 5.3