Skip to content

PHP script with control panel to block IP web access from certain countries of your choosing.

License

Notifications You must be signed in to change notification settings

fernandod1/Country-IP-block-web-access

Repository files navigation

Country IP block web access

PHP script with control panel to block web access from certain countries of your choosing. It uses http://api.hostip.info IP Location API.

CONFIGURE:

Just edit line number 3 of filename functions.php redirect blocked traffic: $REDIRECT_URL= "https://www.disney.es";

SCREENSHOTS:

COLLABORATIONS:

Collaborations to improve script are always welcome.