Re: [PHP] ip2long and ipv6

2012-01-09 Thread TR Shaw
On Jan 9, 2012, at 4:44 AM, Arno Kuhl wrote: > My dev and test tools are windows based and the apps deployed on linux, and > it's been working well. But moving to win7 created problems because it uses > ipv6 and code for ratings is for ipv4. Specifically, using ip2long to save > the ip as an int

[PHP] ip2long and ipv6

2012-01-09 Thread Arno Kuhl
My dev and test tools are windows based and the apps deployed on linux, and it's been working well. But moving to win7 created problems because it uses ipv6 and code for ratings is for ipv4. Specifically, using ip2long to save the ip as an int (to prevent duplicate votes) doesn't work in test (win7