I'm using $_SERVER['REMOTE_ADDR'];
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.
For some users, $_SERVER['REMOTE_ADDR'];
is not returning the right IP -- it is returning one of Google's IPs instead, such as 64.233.173.164
.
I confirmed this by asking one user to check their IP by checking here and their IP turned out to be different than what $_SERVER['REMOTE_ADDR'];
showed.
How is that possible?
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?