Nope , there is no 100% guarantee. You will get a false positive address when user is behind a proxy internet address.
Is the $_SERVER['REMOTE_ADDR'] php var based off of the users TCP/IP?
Question
Is it 100% guaranteed that the $_SERVER['REMOTE_ADDR'] variable is based off of the users TCP/IP and therefor is always reliable?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow