Posted By

apphp-snippets on 08/21/13


country ip address BY

Versions (?)

Get Country By IP Address in PHP

 / Published in: PHP


This simple function allows you to getect a country code and city of your site visitors, using the service. You may use this data to add default values in registration form or use it for any other purposes, like blocking access to your site from special regions.

Report this snippet  

You need to login to post a comment.