title: CloudFlare and logging visitor IP addresses via in PHP
body: <p>I'm trying to track and log users/visitors that are accessing my website using PHP's <code>$_SERVER['REMOTE_ADDR']</code> to do so. A typical method for IP address tracking in PHP.</p>
  
  <p>However, I am using CloudFlare for caching and such and receiving their IP addresses as CloudFlare's:</p>
  
  <blockquote>
    <p>108.162.212.* - 108.162.239.*</p>
  </blockquote>
  
  <p>What would be a correct method of retrieving the actual users/visitors IP address while still using CloudFlare?</p>