How do I find my real IP address?
If I do:-
$_SERVER['REMOTE_ADDR']
It gives me wrong IP Address (157.191.122.36), which I've checked as it gives me same values even when my site is accessed through different locations and countries.
This place somehow, gives me the right IP (64.74.66.230) at http://www.whatismyip.com/, but I can't get the same value through the above PHP code.
EDIT
I tried the URL mentioned in the comment. None of the solutions worked for me. It is clear now though that ehen using $_SERVER["REMOTE_ADDR"]
, I get the server's IP address rather than the visitor's.