Ques/Help X_FORWARDED_FOR

T

trman

Guest
I am using Ezoic, which puts my forum behind a proxy and my forum visitors original IP address does not show in my ACP, just the IP address of that Ezoic uses.

I think I need to use X_FORWARDED_FOR somewhere to get the real IP to show up. I have tried to put the following in config.php and it did not work:

Code:

$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR'];

Ezoic is not much help, other than telling me I need to use X_FORWARDED_FOR.

Can anyone help?

Continue reading...