Page 1 of 1

Add support for anonymous IPv6 addresses

Posted: Thu Apr 24, 2014 5:21 pm
by cmb
Hello Christopher,

I came upon this issue when testing Crazystat on my Win7 local machine. I noticed that the stat counter image was not displayed, because a notice (Undefined offset: 1) was thrown in stat/src/stat.php line 74, which corrupted the generated image. Apparently the IP anonymization can't deal with IPv6 addresses, which are allowed for SERVER_NAME according to RFC 3875s.

It would be great if you will augment Crazystat in this regard.

Christoph