title: PHP $_SERVER['REMOTE_ADDR'] no longer giving users ipaddress as expected?
body: <p>Before PHP 5.4 when running retrieving the users IPAddress using <code>$_SERVER['REMOTE_ADDR']</code> the result would be the users external IPV6 IPAddress.
  EG: <strong>60.123.456.168</strong></p>
  
  <p>However since updating my server to PHP 5.4 the returned users IPAddress seems to be their internal IP:
  EG: <strong>192.168.1.34</strong></p>
  
  <p>This becomes an issue if you want a specific office or 'router' to see a particular group of content or in our case debug code.
  I tried using the other IP option <code>$_SERVER['HTTP_X_FORWARDED_FOR']</code> but this isn't available on all servers.</p>
  
  <p>Is their another way to grab the users external ipaddress in PHP >= 5.4 or has this functionality been removed?</p>