Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

Corey May 17th, 2020 (edited) 626 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     function getCountry()
  3.     {
  4.         if(isset($_SERVER["GEOIP_COUNTRY_NAME"]))
  5.         {
  6.             $country = $_SERVER["GEOIP_COUNTRY_NAME"];
  7.         }
  8.         elseif(isset($_SERVER["GEOIP_COUNTRY_CODE"]))
  9.         {
  10.             $country = $_SERVER["GEOIP_COUNTRY_CODE"];
  11.         }
  12.         elseif(isset($_SERVER["HTTP_CF_IPCOUNTRY"]))
  13.         {
  14.             $country = $_SERVER["HTTP_CF_IPCOUNTRY"];
  15.         }
  16.         return $country;
  17.     }
  18.  
  19.     $country = getCountry();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top