lite database

How to Block Countries From Accessing Your Website

This sample code demonstrate you on how to block the countries from accessing your website based on visitor's IP address using a non-intrusive method on application level (webpage). I'm using the BIN data file approach that will free my hassle to set up a relation database for this. The IP geolocation BIN data provided in this sample zip is outdated, and you can always download a free IP