Hi all,
Our phpinfo page does not show the variable HTTP_X_FORWARDED_FOR . when googling around, i saw that many other phpinfo page display such variable and its value. I am actually exploring the ways to log IP of users that are behind proxy and my finding shows that i probably need to play around with REMOTE_ADDR and HTTP_X_FORWARDED_FOR.
my php was compiled using customapache script (./build all). how can i enable HTTP_X_FORWARDED_FOR?
Thank you very much
Our phpinfo page does not show the variable HTTP_X_FORWARDED_FOR . when googling around, i saw that many other phpinfo page display such variable and its value. I am actually exploring the ways to log IP of users that are behind proxy and my finding shows that i probably need to play around with REMOTE_ADDR and HTTP_X_FORWARDED_FOR.
my php was compiled using customapache script (./build all). how can i enable HTTP_X_FORWARDED_FOR?
Thank you very much