title: which is the better way to get the ip
body: <p>What is the better way of getting the IP address in PHP:</p>
  
  <pre><code>getenv('REMOTE_ADDR'); 
  </code></pre>
  
  <p>or,</p>
  
  <pre><code>$_SERVER['REMOTE_ADDR'];
  </code></pre>
  
  <p>please tell me the difference, if any, between the two.</p>