Foren / Cotonti / Support / cotonti records the wrong ip

diablo
#34227 7. Mai 2012, 00:05

for some reason every single user has the same ip.

and i checked it via superglobals

$_SERVER['HTTP_CLIENT_IP'] -> returns my real ip

$_SERVER['HTTP_X_FORWARDED_FOR'] -> empty

$_SERVER['REMOTE_ADDR'] -> returns the ip my site is recording and its related to the domain company

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."