title: Why is $_SERVER['REMOTE_ADDR'] showing a wrong ip?
body: <p>I'm using <code>$_SERVER['REMOTE_ADDR'];</code> to get the IP of the visitors. I don't care if they are behind a proxy, VPN, etc; I need a measure of IP that can't be manipulated by the end-user.</p>
  
  <p>For some users, <code>$_SERVER['REMOTE_ADDR'];</code> is not returning the right IP -- it is returning one of Google's IPs instead, such as <code>64.233.173.164</code>.</p>
  
  <p>I confirmed this by asking one user to check their IP by checking <a href="https://www.google.com/search?q=what%20is%20my%20ip%20address&amp;rct=j" rel="nofollow">here</a> and their IP turned out to be different than what <code>$_SERVER['REMOTE_ADDR'];</code> showed.</p>
  
  <p>How is that possible?</p>
  
  <p>UPDATE: I've talked to the specific user in question and he said he is NOT using Google Translate. Why else would a Google IP show in REMOTE_ADDR?</p>