You only need to embed a <script> tag with "src" link to our server. The server will return "codehelper_ip" as an Object / JSON, and you can use it right away.
// First, embed this script in your head or at bottom of the page.
// You can use it
Block or Redirect Visitors if they come from some countries?
Pick A Language, Set Themes for your visitors base on their country
Very easy, you have your client's country already. You can set your language = English if they come from US, set it to Vietnamese if they come from Vietnam.
Redirect them to a chinese page if they come from China... etc
PHP get Real IP Address, Countries, City, State, Languages of Visitors
// Required Libraries
// New Class
$_ip = new ip_codehelper();
// Detect Real IP Address & Location
$real_client_ip_address = $_ip->getRealIP();
$visitor_location = $_ip->getLocation($real_client_ip_address);
// Output result
Don't worry, we do support SSL and other languages with JSON return. Please check our community forum code example code.