We've been asked to create a special system for certain institutions to be recognised on a closed system by IP Address.
I'm just wondering what the best way would be to store an IP address range in the database so that I can easily get an institution id code from comparing the REMOTE_ADDR server variable against the stored range?
any ideas would be welcome 
|