title: How would I detect all European countries with CloudFlare geolocation
body: <p>I'm trying to detect whether a user is visiting my website from a European country or not. I'm using the Cloudflare proxy &amp; CDN so have to make use of the headers that they pass on (like so):</p>
  
  <pre><code>$country_code = $_SERVER["HTTP_CF_IPCOUNTRY"];
  </code></pre>
  
  <p>I'm not sure what return values I should be listening out for from Cloudflare that would allow me to do something like this:</p>
  
  <pre><code>if($location == '1' || $location == '2' || $location == '3'){
      // Europe
  }else{
      // Not Europe
  }
  </code></pre>
  
  <p>so can anyone help me work out the values I should process?</p>
  
  <p>Thanks for any help!</p>