Store IPv6 in database

Posted by poru on Stack Overflow See other posts from Stack Overflow or by poru
Published on 2010-01-12T14:37:55Z Indexed on 2010/05/02 20:38 UTC
Read the original article Hit count: 346

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about ip

Related posts about IPv6