title: Compare ip address in php
body: <p>I made a table in my mysql where I store the login details of users.
  We store, ip address (as long2ip), username, sitename and time. What I would like to do is to check if a user is logged into a site with more than 2 different ip's. </p>