Glad you found the article helpful. As to the IP hashing, I wanted to demonstrate a way one can anonymize collected user-identifying data (in this case the IP addresses). Hashing the values ensures the record's uniqueness as if one stored them in plaintext, but keeps our users somewhat anonymous.
Tommy Hoang
Thanks for your short description. It makes me easy to understand website counter. A newbie question, why do you hash the IP?